aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorMarco Pagani <[email protected]>2022-11-25 12:31:12 +0100
committerJonathan Cameron <[email protected]>2022-12-28 17:20:03 +0000
commit6794ed0cfcc6ce737240eccc48b3e8190df36703 (patch)
treea36167c7c8fc3b7e4312e1752e91b1830b38b474 /tools/testing/selftests/bpf/progs/test_autoload.c
parentcbd3a0153cd18a2cbef6bf3cf31bb406c3fc9f55 (diff)
iio: adc: xilinx-ams: fix devm_krealloc() return value check
The clang-analyzer reported a warning: "Value stored to 'ret' is never read". Fix the return value check if devm_krealloc() fails to resize ams_channels. Fixes: d5c70627a794 ("iio: adc: Add Xilinx AMS driver") Signed-off-by: Marco Pagani <[email protected]> Acked-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions