aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorXu Yang <[email protected]>2023-12-28 19:07:53 +0800
committerGreg Kroah-Hartman <[email protected]>2024-01-04 16:01:56 +0100
commitff2b89de471da942a4d853443688113a44fd35ed (patch)
tree0ebf1b5d5d45bd7e1a1c7d5e2990d99106e39476 /lib/test_fortify/write_overflow-strncpy-src.c
parent128d849074d05545becf86e713715ce7676fc074 (diff)
usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
When CONFIG_USB_OTG is not set, mxs_phy_is_otg_host() will always return false. This behaviour is wrong. Since phy.last_event will always be set for either host or device mode. Therefore, CONFIG_USB_OTG condition can be removed. Fixes: 5eda42aebb76 ("usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()") cc: <[email protected]> Acked-by: Peter Chen <[email protected]> Signed-off-by: Xu Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions