[DRIVERS]

Add missing breaks. Patch by Samuel Serapion.

svn path=/trunk/; revision=50197
This commit is contained in:
Timo Kreuzer 2010-12-28 18:20:28 +00:00
parent 13e99eb885
commit a34ed64ca4
8 changed files with 11 additions and 5 deletions

View file

@ -436,7 +436,7 @@ CompBattPnpDispatch(IN PDEVICE_OBJECT DeviceObject,
DbgPrint("CompBatt: Couldn't register for PnP notification - %x\n", DbgPrint("CompBatt: Couldn't register for PnP notification - %x\n",
Status); Status);
} }
break;
case IRP_MN_CANCEL_STOP_DEVICE: case IRP_MN_CANCEL_STOP_DEVICE:
/* Explicitly say ok */ /* Explicitly say ok */

View file

@ -1361,7 +1361,7 @@ VOID NTAPI MiniportHandleInterrupt(
NICUpdateCounters(Adapter); NICUpdateCounters(Adapter);
Adapter->ReceiveError = TRUE; Adapter->ReceiveError = TRUE;
break;
case ISR_PRX: case ISR_PRX:
NDIS_DbgPrint(MID_TRACE, ("Receive interrupt.\n")); NDIS_DbgPrint(MID_TRACE, ("Receive interrupt.\n"));
@ -1380,7 +1380,7 @@ VOID NTAPI MiniportHandleInterrupt(
NICUpdateCounters(Adapter); NICUpdateCounters(Adapter);
Adapter->TransmitError = TRUE; Adapter->TransmitError = TRUE;
break;
case ISR_PTX: case ISR_PTX:
NDIS_DbgPrint(MID_TRACE, ("Transmit interrupt.\n")); NDIS_DbgPrint(MID_TRACE, ("Transmit interrupt.\n"));

View file

@ -287,6 +287,7 @@ VOID LanReceiveWorker( PVOID Context ) {
case ETYPE_ARP: case ETYPE_ARP:
TI_DbgPrint(MID_TRACE,("Received ARP Packet\n")); TI_DbgPrint(MID_TRACE,("Received ARP Packet\n"));
ARPReceive(Adapter->Context, &IPPacket); ARPReceive(Adapter->Context, &IPPacket);
break;
default: default:
IPPacket.Free(&IPPacket); IPPacket.Free(&IPPacket);
break; break;

View file

@ -1908,6 +1908,7 @@ Return Value:
case EXECUTE_OFFLINE_DIAGS: case EXECUTE_OFFLINE_DIAGS:
controlCode = IOCTL_SCSI_MINIPORT_EXECUTE_OFFLINE_DIAGS; controlCode = IOCTL_SCSI_MINIPORT_EXECUTE_OFFLINE_DIAGS;
break;
default: default:
status = STATUS_INVALID_PARAMETER; status = STATUS_INVALID_PARAMETER;

View file

@ -3502,6 +3502,7 @@ ClassInterpretSenseInfo(
} }
} }
break;
} }
default: { default: {

View file

@ -113,6 +113,7 @@ UniataChipDetectChannels(
KdPrint2((PRINT_PREFIX "New ATI PATA 1 chan\n")); KdPrint2((PRINT_PREFIX "New ATI PATA 1 chan\n"));
break; break;
} }
break;
case ATA_SILICON_IMAGE_ID: case ATA_SILICON_IMAGE_ID:
if(ChipFlags & SIIBUG) { if(ChipFlags & SIIBUG) {

View file

@ -6006,6 +6006,7 @@ ehci_isr_removing_urb(PEHCI_DEV ehci, PURB purb, BOOLEAN doorbell_rings, ULONG c
default: default:
TRAP(); TRAP();
} }
break;
} }
case URB_FLAG_STATE_DOORBELL: case URB_FLAG_STATE_DOORBELL:
{ {

View file

@ -214,6 +214,7 @@ umss_port_dispatch_routine(PDEVICE_OBJECT pdev_obj, PIRP irp)
EXIT_DISPATCH(STATUS_SUCCESS, irp); EXIT_DISPATCH(STATUS_SUCCESS, irp);
} }
} }
break;
} }
case IRP_MJ_CREATE: case IRP_MJ_CREATE:
case IRP_MJ_CLOSE: case IRP_MJ_CLOSE: