* [PATCH] include: fix inconsistent indenting in dma_alloc_coherent()
@ 2021-03-12 2:19 ` Wang Qing
0 siblings, 0 replies; 4+ messages in thread
From: Wang Qing @ 2021-03-12 2:19 UTC (permalink / raw)
To: Christoph Hellwig, Marek Szyprowski, Robin Murphy, iommu, linux-kernel
Cc: Wang Qing
fix inconsistent indenting in dma_alloc_coherent()
Signed-off-by: Wang Qing <wangqing@vivo.com>
---
include/linux/dma-mapping.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index fbfa3f5..6e4d513
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -401,7 +401,6 @@ static inline void dma_sync_sgtable_for_device(struct device *dev,
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp)
{
-
return dma_alloc_attrs(dev, size, dma_handle, gfp,
(gfp & __GFP_NOWARN) ? DMA_ATTR_NO_WARN : 0);
}
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] include: fix inconsistent indenting in dma_alloc_coherent()
@ 2021-03-12 2:19 ` Wang Qing
0 siblings, 0 replies; 4+ messages in thread
From: Wang Qing @ 2021-03-12 2:19 UTC (permalink / raw)
To: Christoph Hellwig, Marek Szyprowski, Robin Murphy, iommu, linux-kernel
Cc: Wang Qing
fix inconsistent indenting in dma_alloc_coherent()
Signed-off-by: Wang Qing <wangqing@vivo.com>
---
include/linux/dma-mapping.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index fbfa3f5..6e4d513
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -401,7 +401,6 @@ static inline void dma_sync_sgtable_for_device(struct device *dev,
static inline void *dma_alloc_coherent(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp)
{
-
return dma_alloc_attrs(dev, size, dma_handle, gfp,
(gfp & __GFP_NOWARN) ? DMA_ATTR_NO_WARN : 0);
}
--
2.7.4
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] include: fix inconsistent indenting in dma_alloc_coherent()
2021-03-12 2:19 ` Wang Qing
@ 2021-03-15 10:03 ` Christoph Hellwig
-1 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2021-03-15 10:03 UTC (permalink / raw)
To: Wang Qing
Cc: Christoph Hellwig, Marek Szyprowski, Robin Murphy, iommu, linux-kernel
I've applied this to the dma-mapping tree with a more useful commit
log.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] include: fix inconsistent indenting in dma_alloc_coherent()
@ 2021-03-15 10:03 ` Christoph Hellwig
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2021-03-15 10:03 UTC (permalink / raw)
To: Wang Qing; +Cc: linux-kernel, iommu, Robin Murphy, Christoph Hellwig
I've applied this to the dma-mapping tree with a more useful commit
log.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-15 10:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 2:19 [PATCH] include: fix inconsistent indenting in dma_alloc_coherent() Wang Qing
2021-03-12 2:19 ` Wang Qing
2021-03-15 10:03 ` Christoph Hellwig
2021-03-15 10:03 ` Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.