aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorDaniel Scally <[email protected]>2023-09-20 13:41:09 +0000
committerWolfram Sang <[email protected]>2023-09-22 10:04:39 +0000
commit59851fb05d759f13662be143eff0aae605815b0e (patch)
tree81991bedf997058976c8617642ecfb56342168f2 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parenti2c: mux: gpio: Add missing fwnode_handle_put() (diff)
downloadkernel-59851fb05d759f13662be143eff0aae605815b0e.tar.gz
kernel-59851fb05d759f13662be143eff0aae605815b0e.zip
i2c: xiic: Correct return value check for xiic_reinit()
The error paths for xiic_reinit() return negative values on failure and 0 on success - this error message therefore is triggered on _success_ rather than failure. Correct the condition so it's only shown on failure as intended. Fixes: 8fa9c9388053 ("i2c: xiic: return value of xiic_reinit") Signed-off-by: Daniel Scally <[email protected]> Acked-by: Michal Simek <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions