diff options
author | Alan Adamson <alan.adamson@oracle.com> | 2022-02-03 00:11:53 -0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-02-28 13:45:06 +0200 |
commit | bd83fe6f2cd2133beaac7c423fd36c3515048fc8 (patch) | |
tree | ffbd334a1f8c1ae27f107d0d00a6a01a17fa2949 /drivers/nvme/host/Makefile | |
parent | 72e8b5cd7dd387ba3eee81b0a59746ad8ccdcb5f (diff) |
nvme: add verbose error logging
Improves logging of NVMe errors. If NVME_VERBOSE_ERRORS is configured,
a verbose description of the error is logged, otherwise only status
codes/bits is logged.
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
[kch]: fix several nits, cosmetics, and trim down code.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Alan Adamson <alan.adamson@oracle.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/Makefile')
-rw-r--r-- | drivers/nvme/host/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/Makefile b/drivers/nvme/host/Makefile index dfaacd472e5d..476c5c988496 100644 --- a/drivers/nvme/host/Makefile +++ b/drivers/nvme/host/Makefile @@ -9,7 +9,7 @@ obj-$(CONFIG_NVME_RDMA) += nvme-rdma.o obj-$(CONFIG_NVME_FC) += nvme-fc.o obj-$(CONFIG_NVME_TCP) += nvme-tcp.o -nvme-core-y := core.o ioctl.o +nvme-core-y := core.o ioctl.o constants.o nvme-core-$(CONFIG_TRACING) += trace.o nvme-core-$(CONFIG_NVME_MULTIPATH) += multipath.o nvme-core-$(CONFIG_BLK_DEV_ZONED) += zns.o |