aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/misc/onboard_usb_dev.c
diff options
context:
space:
mode:
authorKrishna Kurapati <[email protected]>2024-04-26 10:35:12 +0530
committerGreg Kroah-Hartman <[email protected]>2024-04-26 14:22:15 +0200
commit3f12222a4bebeb13ce06ddecc1610ad32fa835dd (patch)
tree225e2790ee885c08e6380e4fdf2bf9e4e66062e2 /drivers/usb/misc/onboard_usb_dev.c
parenta160e1202ca318a85c70cf5831f172cc79a24c57 (diff)
usb: dwc3: core: Fix compile warning on s390 gcc in dwc3_get_phy call
Recent commit introduced support for reading Multiport PHYs and while doing so iterated over an integer variable which runs from [0-254] in the worst case scenario. But S390 compiler treats it as a warning and complains that the integer write to string can go to 11 characters. Fix this by modifying iterator variable to u8. Suggested-by: Johan Hovold <[email protected]> Fixes: 30a46746ca5a ("usb: dwc3: core: Refactor PHY logic to support Multiport Controller") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Krishna Kurapati <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/misc/onboard_usb_dev.c')
0 files changed, 0 insertions, 0 deletions