[PATCH] nvdimm: make security_show static

2023-06-16 Thread Ben Dooks
The security_show function is not used outsid 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. Sh

Re: [PATCH] nvdimm: make security_show static

2023-06-16 Thread Dave Jiang
On 6/16/23 09:09, Ben Dooks wrote: The security_show function is not used outsid of drivers/nvdimm/dimm_devs.c s/outsid/outside/ 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.