Author: tkreuzer
Date: Tue Dec 28 18:20:28 2010
New Revision: 50197
URL:
http://svn.reactos.org/svn/reactos?rev=50197&view=rev
Log:
[DRIVERS]
Add missing breaks. Patch by Samuel Serapion.
Modified:
trunk/reactos/drivers/bus/acpi/compbatt/comppnp.c
trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c
trunk/reactos/drivers/network/tcpip/datalink/lan.c
trunk/reactos/drivers/storage/class/disk/disk.c
trunk/reactos/drivers/storage/classpnp/class.c
trunk/reactos/drivers/storage/ide/uniata/id_init.cpp
trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c
trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c
Modified: trunk/reactos/drivers/bus/acpi/compbatt/comppnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/acpi/compbatt/…
==============================================================================
--- trunk/reactos/drivers/bus/acpi/compbatt/comppnp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/acpi/compbatt/comppnp.c [iso-8859-1] Tue Dec 28 18:20:28
2010
@@ -436,7 +436,7 @@
DbgPrint("CompBatt: Couldn't register for PnP notification -
%x\n",
Status);
}
-
+ break;
case IRP_MN_CANCEL_STOP_DEVICE:
/* Explicitly say ok */
Modified: trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/ne2000/…
==============================================================================
--- trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/ne2000/ne2000/8390.c [iso-8859-1] Tue Dec 28 18:20:28
2010
@@ -1361,7 +1361,7 @@
NICUpdateCounters(Adapter);
Adapter->ReceiveError = TRUE;
-
+ break;
case ISR_PRX:
NDIS_DbgPrint(MID_TRACE, ("Receive interrupt.\n"));
@@ -1380,7 +1380,7 @@
NICUpdateCounters(Adapter);
Adapter->TransmitError = TRUE;
-
+ break;
case ISR_PTX:
NDIS_DbgPrint(MID_TRACE, ("Transmit interrupt.\n"));
Modified: trunk/reactos/drivers/network/tcpip/datalink/lan.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/data…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1] Tue Dec 28 18:20:28
2010
@@ -287,6 +287,7 @@
case ETYPE_ARP:
TI_DbgPrint(MID_TRACE,("Received ARP Packet\n"));
ARPReceive(Adapter->Context, &IPPacket);
+ break;
default:
IPPacket.Free(&IPPacket);
break;
Modified: trunk/reactos/drivers/storage/class/disk/disk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/disk…
==============================================================================
--- trunk/reactos/drivers/storage/class/disk/disk.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/disk/disk.c [iso-8859-1] Tue Dec 28 18:20:28 2010
@@ -1908,8 +1908,9 @@
case EXECUTE_OFFLINE_DIAGS:
controlCode = IOCTL_SCSI_MINIPORT_EXECUTE_OFFLINE_DIAGS;
-
- default:
+ break;
+
+ default:
status = STATUS_INVALID_PARAMETER;
break;
}
Modified: trunk/reactos/drivers/storage/classpnp/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/classpnp/c…
==============================================================================
--- trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/classpnp/class.c [iso-8859-1] Tue Dec 28 18:20:28 2010
@@ -3502,6 +3502,7 @@
}
}
+ break;
}
default: {
Modified: trunk/reactos/drivers/storage/ide/uniata/id_init.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/ide/uniata…
==============================================================================
--- trunk/reactos/drivers/storage/ide/uniata/id_init.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/ide/uniata/id_init.cpp [iso-8859-1] Tue Dec 28 18:20:28
2010
@@ -113,6 +113,7 @@
KdPrint2((PRINT_PREFIX "New ATI PATA 1 chan\n"));
break;
}
+ break;
case ATA_SILICON_IMAGE_ID:
if(ChipFlags & SIIBUG) {
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/ehci.c [iso-8859-1] Tue Dec 28 18:20:28
2010
@@ -6006,6 +6006,7 @@
default:
TRAP();
}
+ break;
}
case URB_FLAG_STATE_DOORBELL:
{
Modified: trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/nt4compat/usbd…
==============================================================================
--- trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/usb/nt4compat/usbdriver/umss.c [iso-8859-1] Tue Dec 28 18:20:28
2010
@@ -214,6 +214,7 @@
EXIT_DISPATCH(STATUS_SUCCESS, irp);
}
}
+ break;
}
case IRP_MJ_CREATE:
case IRP_MJ_CLOSE: