Skip to contentSkip to conversation

dma-buf: cma_heap: Fix typo in comment

PATCH In review Mark-PK Tsai 3 participants 4 messages Oct 28, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dma-buf: cma_heap: Fix typo in comment

Remove duplicated "by" from comment in cma_heap_allocate().

---
 drivers/dma-buf/heaps/cma_heap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma-buf/heaps/cma_heap.c +1 -1
index 28fb04eccdd0..cd386ce639f3 100644
@@ -316,7 +316,7 @@ static struct dma_buf *cma_heap_allocate(struct dma_heap *heap,
 			kunmap_atomic(vaddr);
 			/*
 			 * Avoid wasting time zeroing memory if the process
-			 * has been killed by by SIGKILL
+			 * has been killed by SIGKILL
 			 */
 			if (fatal_signal_pending(current))
 				goto free_cma;
Signature · 1 line
2.18.0
#1 lore raw
Quoted 2 lines · Mark-PK Tsai

Remove duplicated "by" from comment in cma_heap_allocate().

This patch isn't typofix but duplicate word stripping, right? If so, the patch subject should be "dma-buf: cma_heap: Remove duplicated 'by'".

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#2 lore raw
Quoted 8 lines

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

Quoted 2 lines · Mark-PK Tsai

Remove duplicated "by" from comment in cma_heap_allocate().

This patch isn't typofix but duplicate word stripping, right? If so, the patch subject should be "dma-buf: cma_heap: Remove duplicated 'by'".

Okay, I've update the title in v3.
Sorry for the horrible commit description.
Thanks.

Quoted 4 lines

Thanks.

#3 lore raw
Quoted 6 lines · Mark-PK Tsai
Quoted 6 lines

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

Quoted 2 lines · Mark-PK Tsai

Remove duplicated "by" from comment in cma_heap_allocate().

Quoted 6 lines
Quoted 2 lines

This patch isn't typofix but duplicate word stripping, right? If so, the patch subject should be "dma-buf: cma_heap: Remove duplicated 'by'".

Okay, I've update the title in v3.
Sorry for the horrible commit description.
Thanks.

Your original commit description was just fine, you just had the bad luck to draw the attention of somebody who likes telling other contributors what to do.

Thanks,

jon