mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Qing Wang <wangqing@vivo.com>
Cc: Nicolas Palix <nicolas.palix@imag.fr>,
	cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] coccinelle: adjust the confidence of fen.cocci
Date: Sun, 26 Dec 2021 11:40:24 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2112261139500.3217@hadrien> (raw)
In-Reply-To: <1639484373-76061-1-git-send-email-wangqing@vivo.com>



On Tue, 14 Dec 2021, Qing Wang wrote:

> From: Wang Qing <wangqing@vivo.com>
>
> We scan by coccinelle according to the confidence value, then check for
> potential problems. But the accuracy of this cocci is very low,
> the scan results are all wrong.
>
> So, lower its confidence to low.

I have made a patch to delete this.

julia

>
> Signed-off-by: Wang Qing <wangqing@vivo.com>
> ---
>  scripts/coccinelle/iterators/fen.cocci | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccinelle/iterators/fen.cocci b/scripts/coccinelle/iterators/fen.cocci
> index b69f966..7b71207
> --- a/scripts/coccinelle/iterators/fen.cocci
> +++ b/scripts/coccinelle/iterators/fen.cocci
> @@ -2,7 +2,7 @@
>  /// These iterators only exit normally when the loop cursor is NULL, so there
>  /// is no point to call of_node_put on the final value.
>  ///
> -// Confidence: High
> +// Confidence: Low
>  // Copyright: (C) 2010-2012 Nicolas Palix.
>  // Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
>  // Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6.
> --
> 2.7.4
>
>

      parent reply	other threads:[~2021-12-26 10:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-14 12:19 Qing Wang
2021-12-14 13:03 ` Julia Lawall
     [not found] ` <AMYAywCFE0lG630WMxnU84qe.9.1639487006485.Hmail.wangqing@vivo.com.@PGFscGluZS5ERUIuMi4yMi4zOTQuMjExMjE0MTQwMjI0MC4yNjIzQGhhZHJpZW4+>
2021-12-15  2:54   ` 回复: " 王擎
2021-12-15  9:36     ` Julia Lawall
2021-12-26 10:40 ` Julia Lawall [this message]

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.22.394.2112261139500.3217@hadrien \
    --to=julia.lawall@inria.fr \
    --cc=cocci@systeme.lip6.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.palix@imag.fr \
    --cc=wangqing@vivo.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

all inboxes | Powered by JetHome®