[PATCH v4 0/3] Coccinelle: misc: Improve the script for more accurate results

From: Vaishali Thakkar
Date: Wed Nov 23 2016 - 04:08:57 EST


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