aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGuo Zhengkui <[email protected]>2021-11-15 05:00:10 +0000
committerDavid S. Miller <[email protected]>2021-11-15 14:18:09 +0000
commit9ed941178ce9894ecd0e06aebf7a3c43841817aa (patch)
treee7d275df3c78b0dff19ab6e53cc366b0d2d349b6 /net/unix/af_unix.c
parentnet: usb: ax88179_178a: add TSO feature (diff)
downloadkernel-9ed941178ce9894ecd0e06aebf7a3c43841817aa.tar.gz
kernel-9ed941178ce9894ecd0e06aebf7a3c43841817aa.zip
hinic: use ARRAY_SIZE instead of ARRAY_LEN
ARRAY_SIZE defined in <linux/kernel.h> is safer than self-defined macros to get size of an array such as ARRAY_LEN used here. Because ARRAY_SIZE uses __must_be_array(arr) to ensure arr is really an array. Reported-by: Alejandro Colomar <[email protected]> Signed-off-by: Guo Zhengkui <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions