Skip to contentSkip to conversation

kernel: dma: coherent: fix spacing coding style issue

PATCH Applied Vova Sharaienko 2 participants 2 messages Jun 23 – Jul 13 DMA mapping helpers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: dma: coherent: fix spacing coding style issue

Fixed spacing around * coding style issue

---
 kernel/dma/coherent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/dma/coherent.c +1 -1
index bcdc0f76d2e8..480dd1766ece 100644
@@ -28,7 +28,7 @@ static inline struct dma_coherent_mem *dev_get_coherent_memory(struct device *de
 }
 
 static inline dma_addr_t dma_get_device_base(struct device *dev,
-					     struct dma_coherent_mem * mem)
+					     struct dma_coherent_mem *mem)
 {
 	if (mem->use_dev_dma_pfn_offset)
 		return phys_to_dma(dev, PFN_PHYS(mem->pfn_base));
Signature · 1 line
2.55.0.rc0.786.g65d90a0328-goog
maintainer Applied
#1 lore raw
Quoted 3 lines · Vova Sharaienko

Fixed spacing around * coding style issue

Applied to dma-mapping-for-next with slightly changed subject prefix. Thanks!

Quoted 9 lines
---
 kernel/dma/coherent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/dma/coherent.c +0 -0
index bcdc0f76d2e8..480dd1766ece 100644

kernel/dma/coherent.c static inline struct dma_coherent_mem *dev_get_coherent_memory(struct device *de · line 34

Quoted 8 lines
kernel/dma/coherent.c +1 -1
@@ -28,7 +28,7 @@ static inline struct dma_coherent_mem *dev_get_coherent_memory(struct device *de
 }
 
 static inline dma_addr_t dma_get_device_base(struct device *dev,
-					     struct dma_coherent_mem * mem)
+					     struct dma_coherent_mem *mem)
 {
 	if (mem->use_dev_dma_pfn_offset)
 		return phys_to_dma(dev, PFN_PHYS(mem->pfn_base));

Best regards

Signature · 2 lines
Marek Szyprowski, PhD
Samsung R&D Institute Poland