diff options
author | Scott Long <scottl@FreeBSD.org> | 2019-03-27 12:25:46 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2019-03-27 12:25:46 +0000 |
commit | aa24a04abf6907833f9842b6329fd58a8201066b (patch) | |
tree | 5399e99c28cbb9b1a5a564d8422e2cc1164b7fe8 | |
parent | aa1ce985e47237be3b4843ac946011c4b43c52af (diff) | |
download | src-aa24a04abf6907833f9842b6329fd58a8201066b.tar.gz src-aa24a04abf6907833f9842b6329fd58a8201066b.zip |
Add missing break statements. Coverity CID 1400446.
Reported by: mav
Notes
Notes:
svn path=/head/; revision=345573
-rw-r--r-- | sys/dev/mpr/mpr_table.c | 2 | ||||
-rw-r--r-- | sys/dev/mps/mps_table.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mpr/mpr_table.c b/sys/dev/mpr/mpr_table.c index 6a7eb1d800e5..a1bddf1a3065 100644 --- a/sys/dev/mpr/mpr_table.c +++ b/sys/dev/mpr/mpr_table.c @@ -451,6 +451,7 @@ mpr_print_evt_sas(struct mpr_softc *sc, MPI2_EVENT_NOTIFICATION_REPLY *event) MPR_PRINTFIELD(sc, data, DevHandle, 0x%x); mpr_print_field(sc, "SASAddress: 0x%jx\n", mpr_to_u64(&data->SASAddress)); + break; } case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE: { @@ -461,6 +462,7 @@ mpr_print_evt_sas(struct mpr_softc *sc, MPI2_EVENT_NOTIFICATION_REPLY *event) MPR_PRINTFIELD(sc, data, Port, %d); MPR_PRINTFIELD(sc, data, PortWidth, %d); MPR_PRINTFIELD(sc, data, Primitive, 0x%x); + break; } default: break; diff --git a/sys/dev/mps/mps_table.c b/sys/dev/mps/mps_table.c index 3604597a4844..a945212af275 100644 --- a/sys/dev/mps/mps_table.c +++ b/sys/dev/mps/mps_table.c @@ -430,6 +430,7 @@ mps_print_evt_sas(struct mps_softc *sc, MPI2_EVENT_NOTIFICATION_REPLY *event) MPS_PRINTFIELD(sc, data, DevHandle, 0x%x); mps_print_field(sc, "SASAddress: 0x%jx\n", mps_to_u64(&data->SASAddress)); + break; } case MPI2_EVENT_SAS_BROADCAST_PRIMITIVE: { @@ -440,6 +441,7 @@ mps_print_evt_sas(struct mps_softc *sc, MPI2_EVENT_NOTIFICATION_REPLY *event) MPS_PRINTFIELD(sc, data, Port, %d); MPS_PRINTFIELD(sc, data, PortWidth, %d); MPS_PRINTFIELD(sc, data, Primitive, 0x%x); + break; } default: break; |