cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Michael Stefaniuc <mstefani@mykolab.com>
Cc: Michal Marek <michal.lkml@markovi.net>,
	cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org
Subject: Re: [Cocci] [PATCH] scripts: coccinelle: Fix description of badty.cocci
Date: Tue, 26 Mar 2019 22:31:11 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.21.1903262230490.3044@hadrien> (raw)
In-Reply-To: <20190326212200.21168-1-mstefani@mykolab.com>



On Tue, 26 Mar 2019, Michael Stefaniuc wrote:

> Summary was copy and pasted from array_size.cocci.
>
> Signed-off-by: Michael Stefaniuc <mstefani@mykolab.com>
> ---
>  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

Oops!  Thanks.

Acked-by: Julia Lawall <julia.lawall@lip6.fr>



>  ///
>  //# 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
>
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

  reply	other threads:[~2019-03-26 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-26 21:22 [Cocci] [PATCH] scripts: coccinelle: Fix description of badty.cocci Michael Stefaniuc
2019-03-26 21:31 ` Julia Lawall [this message]
2019-03-28 13:23 ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.1903262230490.3044@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=cocci@systeme.lip6.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.lkml@markovi.net \
    --cc=mstefani@mykolab.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).