aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2025-07-20 16:47:54 +0000
committerMartin KaFai Lau <[email protected]>2025-07-22 00:27:09 +0000
commit95993dc3039e29dabb9a50d074145d4cb757b08b (patch)
tree908917148fbce5bcba54f417ff242ceac4d58aae /net/unix/af_unix.c
parentlibbpf: Verify that arena map exists when adding arena relocations (diff)
downloadkernel-95993dc3039e29dabb9a50d074145d4cb757b08b.tar.gz
kernel-95993dc3039e29dabb9a50d074145d4cb757b08b.zip
bpf: Use ERR_CAST instead of ERR_PTR(PTR_ERR(...))
Intel linux test robot reported a warning that ERR_CAST can be used for error pointer casting instead of more-complicated/rarely-used ERR_PTR(PTR_ERR(...)) style. There is no functionality change, but still let us replace two such instances as it improves consistency and readability. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Acked-by: Eduard Zingerman <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions