Skip to content

Commit 1209544

Browse files
AlanSterngregkh
authored andcommitted
USB: OHCI: fix bad #define in ohci-tmio.c
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@rowland.harvard.edu> Reported-by: David Binderman <dcb314@hotmail.com> CC: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 91b7256 commit 1209544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/host/ohci-tmio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
#define CCR_PM_CKRNEN 0x0002
5959
#define CCR_PM_USBPW1 0x0004
6060
#define CCR_PM_USBPW2 0x0008
61-
#define CCR_PM_USBPW3 0x0008
61+
#define CCR_PM_USBPW3 0x0010
6262
#define CCR_PM_PMEE 0x0100
6363
#define CCR_PM_PMES 0x8000
6464

0 commit comments

Comments
 (0)