[PATCH] USB: OHCI: fix bad #define in ohci-tmio.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



An incorrect definition of CCR_PM_USBPW3 in ohci-tmio.c is a perennial
source of invalid diagnoses from static scanners, such as in
<http://marc.info/?l=linux-usb&m=143634574527641&w=2>.  This patch
fixes the definition.

Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Reported-by: David Binderman <dcb314@xxxxxxxxxxx>
CC: Dmitry Eremin-Solenikov <dbaryshkov@xxxxxxxxx>

---


[as1781]


 drivers/usb/host/ohci-tmio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: usb-4.1/drivers/usb/host/ohci-tmio.c
===================================================================
--- usb-4.1.orig/drivers/usb/host/ohci-tmio.c
+++ usb-4.1/drivers/usb/host/ohci-tmio.c
@@ -58,7 +58,7 @@
 #define CCR_PM_CKRNEN    0x0002
 #define CCR_PM_USBPW1    0x0004
 #define CCR_PM_USBPW2    0x0008
-#define CCR_PM_USBPW3    0x0008
+#define CCR_PM_USBPW3    0x0010
 #define CCR_PM_PMEE      0x0100
 #define CCR_PM_PMES      0x8000
 

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux