[PATCH v2 1/2] nvme-pci: migrate to dma_map_phys instead of map_page

Christoph Hellwig hch at lst.de
Tue Oct 21 23:14:18 PDT 2025


This actually has block and nvme bits, so the subject line should
say that.

> +	unsigned int attrs = 0;

attrs is always zero here, no need to start passing it for the
map_phys conversion alone.

> +	unsigned int attrs = 0;

Same here.

> +	unsigned int			attrs;

And this is also entirely unused as far as I can tell.




More information about the Linux-nvme mailing list