Re: [PATCH v2] scripts/coccinelle: improve the coverage of some semanticpatches
From: Michal Marek
Date: Sat Jan 14 2012 - 18:07:42 EST
On 14.1.2012 23:41, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> This patch ensures that all semantic patches in the scripts/coccinelle
> directory provide the report option. Report messages that include line
> numbers now have the line number preceded by "line" for easier subsequent
> processing.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
>
> ---
> scripts/coccinelle/api/kstrdup.cocci | 75 ++++++++++++++++++++++++++++--
> scripts/coccinelle/api/memdup.cocci | 34 ++++++++++++-
> scripts/coccinelle/api/memdup_user.cocci | 39 ++++++++++++---
> scripts/coccinelle/free/kfree.cocci | 14 +++--
> scripts/coccinelle/iterators/fen.cocci | 73 ++++++++++++++++++++++++++---
> scripts/coccinelle/iterators/itnull.cocci | 54 ++++++++++++++++++---
> scripts/coccinelle/locks/call_kern.cocci | 67 +++++++++++++++++++-------
> scripts/coccinelle/locks/flags.cocci | 12 ++--
> scripts/coccinelle/locks/mini_lock.cocci | 15 +++---
> scripts/coccinelle/misc/doubleinit.cocci | 8 +--
> scripts/coccinelle/null/eno.cocci | 36 ++++++++++++--
> 11 files changed, 351 insertions(+), 76 deletions(-)
This looks much better, thanks. Applied to kbuild.git#misc.
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/