[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQgYBpELOiXd7zYsK+d-jMDuoj-wD7nPb847oGFfWvHGA@mail.gmail.com>
Date: Thu, 28 Mar 2019 22:23:38 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Michael Stefaniuc <mstefani@...olab.com>
Cc: cocci@...teme.lip6.fr,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Julia Lawall <Julia.Lawall@...6.fr>,
Michal Marek <michal.lkml@...kovi.net>
Subject: Re: [PATCH] scripts: coccinelle: Fix description of badty.cocci
On Wed, Mar 27, 2019 at 6:24 AM Michael Stefaniuc <mstefani@...olab.com> wrote:
>
> Summary was copy and pasted from array_size.cocci.
>
> Signed-off-by: Michael Stefaniuc <mstefani@...olab.com>
Applied to linux-kbuild/fixes. Thanks.
> ---
> scripts/coccinelle/misc/badty.cocci | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/misc/badty.cocci b/scripts/coccinelle/misc/badty.cocci
> index 481cf301ccfc..08470362199c 100644
> --- a/scripts/coccinelle/misc/badty.cocci
> +++ b/scripts/coccinelle/misc/badty.cocci
> @@ -1,4 +1,4 @@
> -/// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
> +/// Correct the size argument to alloc functions
> ///
> //# This makes an effort to find cases where the argument to sizeof is wrong
> //# in memory allocation functions by checking the type of the allocated memory
> --
> 2.20.1
>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists