summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2026-06-03 13:30:46 -0700
committerJohn Johansen <john.johansen@canonical.com>2026-06-13 20:14:06 -0700
commitd62d9bfe050f44f772d05a32079dba3e3523ab2a (patch)
treee6b56a20282a12f06caf553fe5f2029682bdb1da /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parentf86ee868fd54c372255519284e1c0f4f7707c045 (diff)
security/apparmor/apparmorfs.c: conditionally compile get_loaddata_common_ref()
Some config did this: security/apparmor/apparmorfs.c:177:28: warning: 'get_loaddata_common_ref' defined but not used [-Wunused-function] 177 | static struct aa_loaddata *get_loaddata_common_ref(struct aa_common_ref *ref) get_loaddata_common_ref() is only used if CONFIG_SECURITY_APPARMOR_EXPORT_BINARY=y. (Or of course move the function into that block if maintainers perfer) Fixes: 8e135b8aee5a0 ("apparmor: fix race between freeing data and fs accessing it") Cc: John Johansen <john.johansen@canonical.com> Cc: Paul Moore <paul@paul-moore.com> Cc: James Morris <jmorris@namei.org> Cc: "Serge E. Hallyn" <serge@hallyn.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions