OpenCloudOS-Kernel/scripts/coccinelle/misc
Vaishali Thakkar bf56cc04ef Coccinelle: noderef: Add new rules and correct the old rule
Add new rules to detect the cases where sizeof is used in
function calls as a argument.

Also, for the patch mode third rule should behave same as
second rule with arguments reversed. So, change that as well.

Signed-off-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>
2016-06-20 17:20:13 +02:00
..
array_size.cocci Coccinelle: array_size: reduce rule applicability 2016-02-18 22:06:28 +01:00
badty.cocci Coccinelle: reduce rule applicability 2016-02-18 22:05:30 +01:00
boolinit.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
boolreturn.cocci coccinelle: replace 0/1 with false/true in functions returning bool 2013-08-13 22:43:41 +02:00
bugon.cocci coccinelle: bugon: reduce rule applicability 2016-02-18 22:09:40 +01:00
cstptr.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
doubleinit.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
ifaddr.cocci coccinelle: ifaddr: Fix the sentence 2015-05-20 14:01:41 +08:00
ifcol.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
irqf_oneshot.cocci coccinelle: irqf_oneshot.cocci: Improve the generated commit log 2015-05-25 16:23:07 +08:00
noderef.cocci Coccinelle: noderef: Add new rules and correct the old rule 2016-06-20 17:20:13 +02:00
of_table.cocci coccinelle: Improve checking for missing NULL terminators 2015-10-26 22:44:51 +01:00
orplus.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
returnvar.cocci coccinelle: returnvar: Use imperative mood 2015-05-20 14:01:41 +08:00
semicolon.cocci scripts/coccinelle/misc/semicolon.cocci: Use imperative mood 2015-05-21 14:14:41 +08:00
warn.cocci Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00