Re: [PATCH] Coccinelle: memdup: Fix typo in warning messages

From: Masahiro Yamada
Date: Thu Mar 01 2018 - 10:15:10 EST


2018-03-01 17:57 GMT+09:00 Dafna Hirschfeld <dafna3@xxxxxxxxx>:
> Replace 'kmemdep' with 'kmemdup' in warning messages.
>
> Signed-off-by: Dafna Hirschfeld <dafna3@xxxxxxxxx>
> Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
> ---

Applied to linux-kbuild/fixes. Thanks!


> scripts/coccinelle/api/memdup.cocci | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/coccinelle/api/memdup.cocci b/scripts/coccinelle/api/memdup.cocci
> index 1249b72..8fd6437 100644
> --- a/scripts/coccinelle/api/memdup.cocci
> +++ b/scripts/coccinelle/api/memdup.cocci
> @@ -56,10 +56,10 @@ statement S;
> p << r.p;
> @@
>
> -coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdep")
> +coccilib.org.print_todo(p[0], "WARNING opportunity for kmemdup")
>
> @script:python depends on report@
> p << r.p;
> @@
>
> -coccilib.report.print_report(p[0], "WARNING opportunity for kmemdep")
> +coccilib.report.print_report(p[0], "WARNING opportunity for kmemdup")
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html



--
Best Regards
Masahiro Yamada