Commit dca24c45 authored by Vaishali Thakkar's avatar Vaishali Thakkar Committed by Michal Marek
Browse files

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: default avatarVaishali Thakkar <vaishali.thakkar@oracle.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 51a5f810
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment