lkml.org 
[lkml]   [2021]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] coccinelle: adjust the confidence of fen.cocci


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
>
>

\
 
 \ /
  Last update: 2021-12-26 11:40    [W:0.040 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site