[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1615515552-1432-1-git-send-email-wangqing@vivo.com>
Date: Fri, 12 Mar 2021 10:19:12 +0800
From: Wang Qing <wangqing@...o.com>
To: Christoph Hellwig <hch@....de>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Cc: Wang Qing <wangqing@...o.com>
Subject: [PATCH] include: fix inconsistent indenting in dma_alloc_coherent()
fix inconsistent indenting in dma_alloc_coherent()
Signed-off-by: Wang Qing <wangqing@...o.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
Powered by blists - more mailing lists