aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2024-08-28 12:24:50 +0000
committerPaul Moore <[email protected]>2024-08-29 15:12:13 +0000
commitce4a60592ee03e8f6900bf9bf2a6108cd1a9903c (patch)
tree6a39883f7b8da1ea8385d0c1f122f484fe9f5579 /security/selinux/hooks.c
parentlsm: remove LSM_COUNT and LSM_CONFIG_COUNT (diff)
downloadkernel-ce4a60592ee03e8f6900bf9bf2a6108cd1a9903c.tar.gz
kernel-ce4a60592ee03e8f6900bf9bf2a6108cd1a9903c.zip
lsm: Use IS_ERR_OR_NULL() helper function
Use the IS_ERR_OR_NULL() helper instead of open-coding a NULL and an error pointer checks to simplify the code and improve readability. Signed-off-by: Hongbo Li <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions