diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-05-21 18:56:20 +0530 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-05-23 23:16:43 +0200 |
commit | 1ec5ee8c8a5a65ea377f8bea64bf4d5b743f6f79 (patch) | |
tree | 18eefec3dab4140b090759719590bb325b45272f /net/unix/af_unix.c | |
parent | fe736565efb775620dbcf3c459c1cd80d3e868da (diff) | |
download | linux-1ec5ee8c8a5a65ea377f8bea64bf4d5b743f6f79.tar.gz linux-1ec5ee8c8a5a65ea377f8bea64bf4d5b743f6f79.tar.bz2 linux-1ec5ee8c8a5a65ea377f8bea64bf4d5b743f6f79.zip |
bpf: Suppress 'passing zero to PTR_ERR' warning
Kernel Test Robot complains about passing zero to PTR_ERR for the said
line, suppress it by using PTR_ERR_OR_ZERO.
Fixes: c0a5a21c25f3 ("bpf: Allow storing referenced kptr in map")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220521132620.1976921-1-memxor@gmail.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions