aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-12-30 16:17:30 +0800
committerGreg Kroah-Hartman <[email protected]>2023-01-17 17:05:58 +0100
commitbd449ad8cee9d4b523abbdfa73e1a2a08333f331 (patch)
tree50f8e68b4ca9c6b1e1bd33537dc10298d603be87 /tools/testing/selftests/bpf/progs/test_autoload.c
parentf96c0384047257365371a8ac217107c0371586f1 (diff)
usb: musb: fix error return code in omap2430_probe()
Before calling platform_get_resource() in omap2430_probe(), the 'ret' is re-assgined to 0, it can't return an error code, if platform_get_resource fails. Set the error code to -EINVAL to fix this. Fixes: ffbe2feac59b ("usb: musb: omap2430: Fix probe regression for missing resources") Cc: stable <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions