Skip to content
Commit 0de030b3 authored by Tom Rix's avatar Tom Rix Committed by Jarkko Sakkinen
Browse files

sysctl: set variable key_sysctls storage-class-specifier to static



smatch reports
security/keys/sysctl.c:12:18: warning: symbol
  'key_sysctls' was not declared. Should it be static?

This variable is only used in its defining file, so it should be static.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 0b15afc9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment