summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-11-25 12:03:40 +0100
committerJarkko Sakkinen <jarkko@kernel.org>2025-01-21 11:25:23 +0200
commit5f56d41a21b6d17b59525958a57feffe597b7de5 (patch)
treed969b33a944fd9600cc2c1eb4b7c3049811bed3f /security
parent95ec54a420b8f445e04a7ca0ea8deb72c51fe1d3 (diff)
downloadlinux-5f56d41a21b6d17b59525958a57feffe597b7de5.tar.gz
linux-5f56d41a21b6d17b59525958a57feffe597b7de5.tar.bz2
linux-5f56d41a21b6d17b59525958a57feffe597b7de5.zip
keys: drop shadowing dead prototype
The global variable pkcs7 does not exist. Drop the variable declaration, but keep the struct prototype needed for is_key_on_revocation_list(). Reported by clang: ./include/keys/system_keyring.h:104:67: warning: declaration shadows a variable in the global scope [-Wshadow] 104 | static inline int is_key_on_revocation_list(struct pkcs7_message *pkcs7) | ^ ./include/keys/system_keyring.h:76:30: note: previous declaration is here 76 | extern struct pkcs7_message *pkcs7; | ^ Fixes: 56c5812623f9 ("certs: Add EFI_CERT_X509_GUID support for dbx entries") Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions