linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] dma-mapping: remove trailing spaces and tabs
@ 2021-06-08  7:52 Zhen Lei
  2021-06-22  7:41 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Zhen Lei @ 2021-06-08  7:52 UTC (permalink / raw)
  To: Christoph Hellwig, Marek Szyprowski, Robin Murphy, iommu, linux-kernel
  Cc: Zhen Lei

Run the following command to find and remove the trailing spaces and tabs:

find kernel/dma/ -type f | xargs sed -r -i 's/[ \t]+$//'

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 kernel/dma/coherent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c
index 5b5b6c7ec7f2..794e76b03b34 100644
--- a/kernel/dma/coherent.c
+++ b/kernel/dma/coherent.c
@@ -111,7 +111,7 @@ static int dma_assign_coherent_memory(struct device *dev,
  * Declare a region of memory to be handed out by dma_alloc_coherent() when it
  * is asked for coherent memory for this device.  This shall only be used
  * from platform code, usually based on the device tree description.
- * 
+ *
  * phys_addr is the CPU physical address to which the memory is currently
  * assigned (this will be ioremapped so the CPU can access the region).
  *
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] dma-mapping: remove trailing spaces and tabs
  2021-06-08  7:52 [PATCH 1/1] dma-mapping: remove trailing spaces and tabs Zhen Lei
@ 2021-06-22  7:41 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2021-06-22  7:41 UTC (permalink / raw)
  To: Zhen Lei
  Cc: Christoph Hellwig, Marek Szyprowski, Robin Murphy, iommu, linux-kernel

Thanks,

applied to the dma-mapping tree.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-22  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  7:52 [PATCH 1/1] dma-mapping: remove trailing spaces and tabs Zhen Lei
2021-06-22  7:41 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).