summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2026-01-06 17:13:32 +0000
committerPaul Moore <paul@paul-moore.com>2026-01-06 20:57:55 -0500
commit472711068fa950642b9b471aaebcc82e9930eb8c (patch)
tree8c1f82c9f8962858e0e99a0c23630eeabda0b51e /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent5547598e59d724d805551596b52b1c40120372d8 (diff)
lsm: make keys for static branch static
The key use for static-branches are not refrenced by name outside of the security/security.c file, so make them static. This stops the sparse warnings about "Should it be static?" such as: security/security.c: note: in included file: ./include/linux/lsm_hook_defs.h:29:1: warning: symbol 'security_hook_active_binder_set_context_mgr_0' was not declared. Should it be static? ./include/linux/lsm_hook_defs.h:29:1: warning: symbol 'security_hook_active_binder_set_context_mgr_1' was not declared. Should it be static? ... Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> [PM: trimmed sparse output for line-length, readability] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions