linux/drivers/nvme/host
Christoph Hellwig f12d05f702 nvme: fix the nsid value to print in nvme_validate_or_alloc_ns
commit f4f9fc29e5 upstream.

ns can be NULL at this point, and my move of the check from
the original patch by Chaitanya broke this.

Fixes: 0ec84df495 ("nvme-core: check ctrl css before setting up zns")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2021-03-30 14:32:08 +02:00
..
core.c nvme: fix the nsid value to print in nvme_validate_or_alloc_ns 2021-03-30 14:32:08 +02:00
fabrics.c nvme-fabrics: allow to queue requests for live queues 2020-09-09 08:00:50 +02:00
fabrics.h nvme: fix deadlock in disconnect during scan_work and/or ana_work 2020-07-29 07:45:19 +02:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted 2021-03-30 14:31:52 +02:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c nvme: return errors for hwmon init 2020-09-22 17:49:55 +02:00
Kconfig nvme-tcp: fix kconfig dependency warning when !CRYPTO 2020-09-15 07:58:49 +02:00
lightnvm.c nvme: support for multiple Command Sets Supported and Effects log pages 2020-07-08 16:16:20 +02:00
Makefile nvme: support for zoned namespaces 2020-07-08 16:16:20 +02:00
multipath.c nvme-multipath: set nr_zones for zoned namespaces 2021-03-04 11:37:50 +01:00
nvme.h nvme-core: add cancel tagset helpers 2021-03-07 12:34:12 +01:00
pci.c nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a 2021-03-30 14:31:52 +02:00
rdma.c nvme-rdma: fix possible hang when failing to set io queues 2021-03-25 09:04:10 +01:00
tcp.c nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU 2021-03-25 09:04:07 +01:00
trace.c nvme: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00
zns.c nvme: remove the disk argument to nvme_update_zone_info 2020-10-07 07:56:17 +02:00