max_hw_sectors error caused by recent NVMe driver commit

Christoph Hellwig hch at lst.de
Sun Feb 12 22:42:50 PST 2023


On Mon, Feb 13, 2023 at 06:41:12AM +0000, Michael Kelley (LINUX) wrote:
> Any reason to use dev->dev instead of &pdev->dev?  They should be
> the same, but with everything else in this function using &pdev->dev,
> the lack of consistency suggests there might be a reason.

No good reason - the code started with copy and paste from the previous
location and I can fix this up.



More information about the Linux-nvme mailing list