diff options
author | Trond Myklebust <[email protected]> | 2022-03-24 17:19:59 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2022-03-25 13:24:12 -0400 |
commit | ebbe788731cb52a0ef69cf962813b302ef5b399e (patch) | |
tree | a4052ec8d712e18924ffc0134ac36373c74c8e8e /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 421ab1be43bd015ffe744f4ea25df4f19d1ce6fe (diff) |
SUNRPC: Don't return error values in sysfs read of closed files
Instead of returning an error value, which ends up being the return
value for the read() system call, it is more elegant to simply return
the error as a string value.
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions