[PATCH 2/9] block: add scatterlist-less DMA mapping helpers
Christoph Hellwig
hch at lst.de
Mon Jun 16 06:01:58 PDT 2025
On Mon, Jun 16, 2025 at 02:52:15PM +0200, Daniel Gomez wrote:
> It should be valid already. But if the initialized value at line 160 can be
> changed through the previous code then, this should suffice:
Why? If pci_p2pdma_state returns something other than
PCI_P2PDMA_MAP_BUS_ADDR or PCI_P2PDMA_MAP_THRU_HOST_BRIDGE, BLK_STS_INVAL
should be propagated up the callchain.
More information about the Linux-nvme
mailing list