diff options
| author | John Garry <john.g.garry@oracle.com> | 2026-06-10 08:53:32 +0000 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-06-10 07:31:21 -0700 |
| commit | ac48c49116d3de84fabc224c6e43f08740b1460d (patch) | |
| tree | 19b1b26b0785e817d8474787282581d9f56940a0 /include/linux/debugobjects.h | |
| parent | 48c0162f647bb47e6084ffbc71b8f213f5e2f4f8 (diff) | |
nvme: make some sysfs diagnostic structures static
Building with C=1 generates the following warnings:
drivers/nvme/host/sysfs.c:397:25: warning: symbol 'dev_attr_io_errors' was not declared. Should it be static?
drivers/nvme/host/sysfs.c:444:30: warning: symbol 'nvme_ns_diag_attr_group' was not declared. Should it be static?
drivers/nvme/host/sysfs.c:1150:25: warning: symbol 'dev_attr_adm_errors' was not declared. Should it be static?
Make those structures static.
Closes: https://lore.kernel.org/oe-kbuild-all/202606101329.T3zXNqdy-lkp@intel.com/
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
