projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b585a48
)
usb: dwc2: Bits in bitfield should add up to 32
author
Charles Manning
<cdhmanning@gmail.com>
Thu, 2 Oct 2014 02:36:20 +0000
(15:36 +1300)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 23 Oct 2014 14:55:43 +0000
(09:55 -0500)
The unioned u32 is used for clearing etc. Having the number of
bitfield bits add up to more than 32 is broken, even if benign.
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc2/core.h
b/drivers/usb/dwc2/core.h
index bf015ab3b44c80ae76631b3d63268a0701ef5707..55c90c53f2d6b6c3534df4e734ad3e8fea03277e 100644
(file)
--- a/
drivers/usb/dwc2/core.h
+++ b/
drivers/usb/dwc2/core.h
@@
-619,7
+619,7
@@
struct dwc2_hsotg {
unsigned port_suspend_change:1;
unsigned port_over_current_change:1;
unsigned port_l1_change:1;
- unsigned reserved:2
6
;
+ unsigned reserved:2
5
;
} b;
} flags;