Skip to contentSkip to conversation

dma-mapping: remove trailing spaces and tabs

PATCH Applied Zhen Lei 2 participants 2 messages Jun 8, 2021 – Jun 22, 2021 DMA mapping helpers

lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 dma-mapping: remove trailing spaces and tabs

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

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

---
 kernel/dma/coherent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/dma/coherent.c +1 -1
index 5b5b6c7ec7f2..794e76b03b34 100644
@@ -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).
  *
Signature · 1 line
2.25.1