aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2021-12-20 11:30:48 +0000
committerAndrii Nakryiko <[email protected]>2021-12-21 23:35:48 +0000
commit0dd668d2080c46cf914e131f341fa114a34c5a20 (patch)
tree517c7fec6a7f96131428e820f97d87bbaca37f98 /net/unix/af_unix.c
parentselftests/bpf: Correct the INDEX address in vmtest.sh (diff)
downloadkernel-0dd668d2080c46cf914e131f341fa114a34c5a20.tar.gz
kernel-0dd668d2080c46cf914e131f341fa114a34c5a20.zip
bpf: Use struct_size() helper
In an effort to avoid open-coded arithmetic in the kernel, use the struct_size() helper instead of open-coded calculation. Signed-off-by: Xiu Jianfeng <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://github.com/KSPP/linux/issues/160 Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions