commit | 3876043ad9f7ff5fa3e506ea9673641971e46d8b | [log] [tgz] |
---|---|---|
author | Paul Moore <paul@paul-moore.com> | Thu Jul 20 16:26:34 2023 -0400 |
committer | Paul Moore <paul@paul-moore.com> | Thu Jul 20 16:29:47 2023 -0400 |
tree | 43a8e334a5f6f72efd88f9eb2ff51cba56a9d400 | |
parent | 55a0e73806ec64279ea31d57b2116672631696a8 [diff] |
selinux: fix a 0/NULL mistmatch in ad_net_init_from_iif() Use a NULL instead of a zero to resolve a int/pointer mismatch. Cc: Paolo Abeni <pabeni@redhat.com> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202307210332.4AqFZfzI-lkp@intel.com/ Fixes: dd51fcd42fd6 ("selinux: introduce and use lsm_ad_net_init*() helpers") Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>