lkml.org 
[lkml]   [2021]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] coccinelle: adjust the confidence of uninitialized_var.cocci
Date
From: Wang Qing <wangqing@vivo.com>

Since uninitialized_var() was removed, this cocci should reset its
confidence to low.

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
scripts/coccinelle/misc/uninitialized_var.cocci | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/coccinelle/misc/uninitialized_var.cocci b/scripts/coccinelle/misc/uninitialized_var.cocci
index 69bbaae..79e02e3
--- a/scripts/coccinelle/misc/uninitialized_var.cocci
+++ b/scripts/coccinelle/misc/uninitialized_var.cocci
@@ -18,7 +18,7 @@
/// this kind were cleaned-up from the kernel. This cocci rule checks that
/// the macro is not explicitly or implicitly reintroduced.
///
-// Confidence: High
+// Confidence: Low
// Copyright: (C) 2020 Denis Efremov ISPRAS
// Options: --no-includes --include-headers
//
--
2.7.4
\
 
 \ /
  Last update: 2021-12-14 13:20    [W:0.028 / U:1.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site