]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Coccinelle: misc: Improve the matching of rules
authorVaishali Thakkar <vaishali.thakkar@oracle.com>
Wed, 23 Nov 2016 08:46:39 +0000 (14:16 +0530)
committerMichal Marek <mmarek@suse.com>
Sun, 11 Dec 2016 11:08:26 +0000 (12:08 +0100)
commitdca24c4544d96989f521b5aa49fd44ae0ae5a5b6
treeded14a63d661f7f2ac911f271d16b0ff3bea8e70
parent51a5f81079bfbd146b7162580c2170289c7cb413
Coccinelle: misc: Improve the matching of rules

Currently because of the left associativity of the operators, pattern
IRQF_ONESHOT | flags does not match with the pattern when we have more
than one flag after the disjunction. This eventually results in giving
false positives by the script. This patch eliminates these FPs by
improving the rule.

Signed-off-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/coccinelle/misc/irqf_oneshot.cocci