Skip to content
Snippets Groups Projects
Commit b1a867ee authored by Paul Moore's avatar Paul Moore
Browse files

lsm: mark the lsm_id variables are marked as static


As the kernel test robot helpfully reminded us, all of the lsm_id
instances defined inside the various LSMs should be marked as static.
The one exception is Landlock which uses its lsm_id variable across
multiple source files with an extern declaration in a header file.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Suggested-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Reviewed-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 9ba8802c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment