[PATCH 1/2] nvme-pci: Print error message on failure in nvme_probe

Christoph Hellwig hch at lst.de
Tue Oct 21 23:26:34 PDT 2025


On Mon, Oct 20, 2025 at 05:29:07PM +0200, Gerd Bayer wrote:
> Add a new error message like
> nvme nvme0: probe failed on 2004:00:00.0 (result: -19)
> that makes failures to probe visible in the kernel log.

Is that really a thing drivers are expected to do?  If it is generally
usefull I'd expect it to be in the driver core.

Also for nvme most "interesting" errors happen in the reset workqueue
and not in ->probe itself.



More information about the Linux-nvme mailing list