Re: Coccinelle: zalloc-simple: Fix patch mode for dma_alloc_coherent()

From: Markus Elfring
Date: Thu Apr 09 2020 - 11:26:21 EST


> What should I be looking for in the archives?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/scripts/coccinelle/api/alloc/zalloc-simple.cocci?id=dfd32cad146e3624970eee9329e99d2c6ef751b3

Several software development discussions might be interesting
also before the change âdma-mapping: remove dma_zalloc_coherent()â.


> I've referenced what I think is the relevant commit here.

How do you think about the extend the software development background
another bit?


> I have replied to these messages now.

Do you refer to your response from 2020-04-07?
https://systeme.lip6.fr/pipermail/cocci/2020-April/007102.html
https://lore.kernel.org/cocci/20200407155005.rdyiu7xqss57rzhq@lenovo-laptop/

* You proposed a change for this SmPL script which contains programming mistakes.

* Would you like to achieve the restore of a SmPL code variant
from a published patch hunk instead?

* Will the software development attention grow also around the recurring topic
âCode duplications in SmPL disjunctionsâ?

Regards,
Markus