]> www.infradead.org Git - nvme.git/commit
nvmet: Make nvmet_debugfs static
authorJinjie Ruan <ruanjinjie@huawei.com>
Thu, 22 Aug 2024 07:19:16 +0000 (15:19 +0800)
committerKeith Busch <kbusch@kernel.org>
Fri, 23 Aug 2024 16:50:16 +0000 (09:50 -0700)
commitf4bd3139933da65c2daa402b2a4d5fe469133aec
tree8c263c7d860545b41f593039394cd9e2e7a32794
parente6b09a173870720e4d4c6fd755803970015ac043
nvmet: Make nvmet_debugfs static

The sparse tool complains as follows:

drivers/nvme/target/debugfs.c:16:15: warning:
symbol 'nvmet_debugfs' was not declared. Should it be static?

This symbol is not used outside debugfs.c, so marks it static.

Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/debugfs.c