[Cocci] [PATCH v6] coccicheck: Support search for SmPL scripts within selected directory hierarchy

2019-11-03 Thread zhongshiqi
*Allow defining the environment variable “COCCI” as a directory to search SmPL scripts. *Start a corresponding file determination if it contains an acceptable path. *Update coccinelle.rst documents for use coccicheck with a directory selection Signed-off-by: zhongshiqi --- Changes in v6:

Re: [Cocci] Coccinelle: zalloc-simple: Adjust a message construction

2019-11-03 Thread Markus Elfring
>> * Simplify a message construction in a Python script rule >> for the semantic patch language. > > The benefit is what? The avoidance to store the shown string in the extra Python variable “msg”. >> * Delete also a duplicate space character then. I find the proposed wording a bit nicer,

Re: [Cocci] [PATCH] Coccinelle: zalloc-simple: Adjust a message construction

2019-11-03 Thread Julia Lawall
On Sun, 3 Nov 2019, Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 3 Nov 2019 20:00:30 +0100 > > * Simplify a message construction in a Python script rule > for the semantic patch language. The benefit is what? julia > > * Delete also a duplicate space character then. > >

[Cocci] [PATCH] Coccinelle: zalloc-simple: Adjust a message construction

2019-11-03 Thread Markus Elfring
From: Markus Elfring Date: Sun, 3 Nov 2019 20:00:30 +0100 * Simplify a message construction in a Python script rule for the semantic patch language. * Delete also a duplicate space character then. Fixes: dfd32cad146e3624970eee9329e99d2c6ef751b3 ("dma-mapping: remove dma_zalloc_coherent()")