Thread (33 messages) 33 messages, 2 authors, 2021-05-14

Re: [PATCH v2 08/22] dma-mapping: Allow map_sg() ops to return negative error codes

From: Christoph Hellwig <hch@lst.de>
Date: 2021-05-14 13:51:32
Also in: linux-iommu, linux-mm, linux-nvme, linux-pci, lkml

+int __dma_map_sg_attrs(struct device *dev, struct scatterlist *sg, int nents,
 		enum dma_data_direction dir, unsigned long attrs);
I don't think it makes sense to expose this __dma_map_sg_attrs helper.
Just keep it static and move the sgtable helper to kernel/dma/mapping.c
as well.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help