scripts/coccinelle: find constant additions that could be bit ors
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 2 Feb 2013 16:19:55 +0000 (17:19 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 22 Feb 2013 13:26:00 +0000 (14:26 +0100)
commit24f0c2d6ff859fbca45fd765f0d241528bdb4365
tree566add45c05935086d1a01ec2c60081bbf57723e
parent5303265a48eb276b8cdee84f8e91e7f971224c5e
scripts/coccinelle: find constant additions that could be bit ors

Semantic patch (http://coccinelle.lip6.fr/) to check for constants that are
added but are used elsewhere as bitmasks.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/misc/orplus.cocci [new file with mode: 0644]