[PATCH] nvme-pci: define pr_fmt()

Christoph Hellwig hch at lst.de
Wed Dec 11 22:22:41 PST 2024


On Mon, Dec 09, 2024 at 11:49:28AM +0200, Baruch Siach wrote:
> Make pr_err() call from nvme_find_rq() produce messages with prefix, to
> ease debug.

Really?  If you want useful information there I don't think the prefix
is very useful.  You'd be better off passing the nvme_ctrl and then
use dev_err based on that.




More information about the Linux-nvme mailing list