Home
last modified time | relevance | path

Searched hist:"2 a047e0662aee1bd773e0415accd785ad26a9398" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/dma/
H A Dmapping.cdiff 2a047e0662aee1bd773e0415accd785ad26a9398 Mon Aug 09 10:19:36 CDT 2021 Christoph Hellwig <hch@lst.de> dma-mapping: return an unsigned int from dma_map_sg{,_attrs}

These can only return 0 for failure or the number of entries, so turn
the return value into an unsigned int.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
/openbmc/linux/include/linux/
H A Ddma-mapping.hdiff 2a047e0662aee1bd773e0415accd785ad26a9398 Mon Aug 09 10:19:36 CDT 2021 Christoph Hellwig <hch@lst.de> dma-mapping: return an unsigned int from dma_map_sg{,_attrs}

These can only return 0 for failure or the number of entries, so turn
the return value into an unsigned int.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>