Add missing break statements. Coverity CID 1400446.

Reported by:	mav
This commit is contained in:
Scott Long 2019-03-27 12:25:46 +00:00
parent aa1ce985e4
commit aa24a04abf
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -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;