aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorNamjae Jeon <[email protected]>2025-05-20 00:25:03 +0000
committerSteve French <[email protected]>2025-05-22 03:30:39 +0000
commit10379171f346e6f61d30d9949500a8de4336444a (patch)
tree6f17911d23e9195a6fad75e826c85293f354403c /rust/helpers/build_assert.c
parentksmbd: fix rename failure (diff)
downloadkernel-10379171f346e6f61d30d9949500a8de4336444a.tar.gz
kernel-10379171f346e6f61d30d9949500a8de4336444a.zip
ksmbd: use list_first_entry_or_null for opinfo_get_list()
The list_first_entry() macro never returns NULL. If the list is empty then it returns an invalid pointer. Use list_first_entry_or_null() to check if the list is empty. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions