linux/drivers/nvme
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
..
host nvme: fix the nsid value to print in nvme_validate_or_alloc_ns 2021-03-30 14:32:08 +02:00
target nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done 2021-03-30 14:31:52 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00