sysctl: set variable key_sysctls storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Sun, 11 Jun 2023 11:32:10 +0000 (07:32 -0400)
committerJarkko Sakkinen <jarkko@kernel.org>
Mon, 7 Aug 2023 17:55:54 +0000 (17:55 +0000)
commit0de030b308236a1392f924f527cf74614d8b6aef
treefca2e5f9519e9c32575afa2f0a576c323a423284
parent0b15afc9038146bb2009e7924b1ead2e919b2a56
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: Tom Rix <trix@redhat.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
security/keys/sysctl.c