[PATCH] nvme-pci: fix race condition between reset and nvme_dev_disable()
Christoph Hellwig
hch at lst.de
Mon Oct 14 21:57:03 PDT 2024
On Mon, Oct 14, 2024 at 03:20:13PM +0200, Maurizio Lombardi wrote:
> -static void nvme_pci_update_nr_queues(struct nvme_dev *dev)
> +static int nvme_pci_update_nr_queues(struct nvme_dev *dev)
It would probably be nicer to return a bool here instead of a negative
error that is always -ENODEV.
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list