diff options
author | Charles Manning <cdhmanning@gmail.com> | 2014-10-02 15:36:20 +1300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-10-23 09:55:43 -0500 |
commit | fd4850cfd4e4060ec85a9db590b5d0e23eec68f5 (patch) | |
tree | 8f83819c840bda282412ab8cd6a120a9203a6a36 /drivers/usb/dwc2/core.h | |
parent | b585a48b8a9486f26a68886278f2c8f981676dd4 (diff) |
usb: dwc2: Bits in bitfield should add up to 32
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>
Diffstat (limited to 'drivers/usb/dwc2/core.h')
-rw-r--r-- | drivers/usb/dwc2/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index bf015ab3b44c..55c90c53f2d6 100644 --- 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:26; + unsigned reserved:25; } b; } flags; |