Commit fd4850cf authored by Charles Manning's avatar Charles Manning Committed by Felipe Balbi

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: default avatarPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: default avatarCharles Manning <cdhmanning@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent b585a48b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment