diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2023-06-16 18:09:25 +0200 |
---|---|---|
committer | Vishal Verma <vishal.l.verma@intel.com> | 2023-06-23 23:08:24 +0200 |
commit | 0e796e3eafc5ba450a1f479f22aef4c8a4c7d686 (patch) | |
tree | 5cbd3f350b57a74d1addec4170083910fdb1e2c7 /ipc | |
parent | nvdimm: make nd_class variable static (diff) | |
download | linux-0e796e3eafc5ba450a1f479f22aef4c8a4c7d686.tar.xz linux-0e796e3eafc5ba450a1f479f22aef4c8a4c7d686.zip |
nvdimm: make security_show static
The security_show function is not used outside of drivers/nvdimm/dimm_devs.c
and the attribute it is for is also already static. Silence the sparse
warning for this not being declared by making it static. Fixes:
drivers/nvdimm/dimm_devs.c:352:9: warning: symbol 'security_show' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20230616160925.17687-1-ben.dooks@codethink.co.uk
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions