aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2023-01-26 20:40:18 +0100
committerHans de Goede <[email protected]>2023-02-03 10:01:50 +0100
commit36d44825faf42903a0b92dd49a9620e2cbdcbe18 (patch)
tree7d9e07566914fc37b0a02f4ce3de2c25aa075172 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent3e899fec5dfce37701d49d656954a825275bf867 (diff)
platform/x86: dell-ddv: Return error if buffer is empty
In several cases, the DDV WMI interface can return buffers with a length of zero. Return -ENODATA in such a case for proper error handling. Also replace some -EIO errors with more specialized ones. Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions