diff options
author | Qi Zhou <[email protected]> | 2020-01-04 11:02:01 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-01-08 17:44:11 +0100 |
commit | 1530f6f5f5806b2abbf2a9276c0db313ae9a0e09 (patch) | |
tree | 86530b0a4332fccd6ab94461419184dc0f61c519 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | ba9b40810bb43e6bf73b395012b98633c03f7f59 (diff) |
usb: missing parentheses in USE_NEW_SCHEME
According to bd0e6c9614b9 ("usb: hub: try old enumeration scheme first
for high speed devices") the kernel will try the old enumeration scheme
first for high speed devices. This can happen when a high speed device
is plugged in.
But due to missing parentheses in the USE_NEW_SCHEME define, this logic
can get messed up and the incorrect result happens.
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Qi Zhou <[email protected]>
Link: https://lore.kernel.org/r/ht4mtag8ZP-HKEhD0KkJhcFnVlOFV8N8eNjJVRD9pDkkLUNhmEo8_cL_sl7xy9mdajdH-T8J3TFQsjvoYQT61NFjQXy469Ed_BbBw_x4S1E=@protonmail.com
[ fixup changelog text - gregkh]
Cc: stable <[email protected]>
Fixes: bd0e6c9614b9 ("usb: hub: try old enumeration scheme first for high speed devices")
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions