summaryrefslogtreecommitdiff
path: root/tools/testing/nvdimm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-16 23:14:09 +0300
committerDan Williams <dan.j.williams@intel.com>2023-06-07 23:30:21 +0300
commit7f80ab365a1d10cb143c897954199c760272c338 (patch)
treefbf0f70595a56c2cfbac07e173c7e7e16e3264b2 /tools/testing/nvdimm
parent9e46e541cf19fffbbbd9c6ef393446e7d5ef8c39 (diff)
downloadlinux-7f80ab365a1d10cb143c897954199c760272c338.tar.xz
libnvdimm: mark 'security_show' static again
The security_show() function was made global and __weak at some point to allow overriding it. The override was removed later, but it remains global, which causes a warning about the missing declaration: drivers/nvdimm/dimm_devs.c:352:9: error: no previous prototype for 'security_show' This is also not an appropriate name for a global symbol in the kernel, so just make it static again. Fixes: 15a8348707ff ("libnvdimm: Introduce CONFIG_NVDIMM_SECURITY_TEST flag") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20230516201415.556858-3-arnd@kernel.org Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm')
0 files changed, 0 insertions, 0 deletions