Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934559AbcKWJIy (ORCPT ); Wed, 23 Nov 2016 04:08:54 -0500 Received: from userp1050.oracle.com ([156.151.31.82]:25368 "EHLO userp1050.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933640AbcKWJIw (ORCPT ); Wed, 23 Nov 2016 04:08:52 -0500 From: Vaishali Thakkar To: mmarek@suse.com Cc: julia.lawall@lip6.fr, gilles.muller@lip6.fr, nicolas.palix@imag.fr, lars@metafoo.de, cocci@systeme.lip6.fr, linux-kernel@vger.kernel.org, Vaishali Thakkar Subject: [PATCH v4 0/3] Coccinelle: misc: Improve the script for more accurate results Date: Wed, 23 Nov 2016 14:12:58 +0530 Message-Id: X-Mailer: git-send-email 2.1.4 X-Source-IP: userp1040.oracle.com [156.151.31.81] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 28 Few changes to improve the results given by the irqf_oneshot.cocci: - Change in the matching rules to eliminate false postives in the patch mode - Change in the context mode to eliminate false postives in the context mode - Support for the missing devm_request_threaded_irq in context, report and org mode Changes since v3: - Few more changes in the script to avoid some possible false positives - Moved initialization of all expressions in a single line Changes since v2: - Add missing initialization of metavariables Changes since v1: - Split patch in to the patchset Vaishali Thakkar (3): Coccinelle: misc: Improve the matching of rules Coccinelle: misc: Improve the result given by context mode Coccinelle: misc: Add support for devm variant in all modes scripts/coccinelle/misc/irqf_oneshot.cocci | 52 +++++++++++++++++++++--------- 1 file changed, 36 insertions(+), 16 deletions(-) -- 2.1.4