summaryrefslogtreecommitdiffstats
path: root/scripts/coccicheck
diff options
context:
space:
mode:
authorVaishali Thakkar2016-05-24 06:19:17 +0200
committerMichal Marek2016-06-20 17:20:13 +0200
commitbf56cc04ef97c8ec536e3fcd16fc57902cba339f (patch)
tree0e45c354d1a4b294f001ee876086196ca6b201da /scripts/coccicheck
parentLinux 4.7-rc1 (diff)
downloadkernel-qcow2-linux-bf56cc04ef97c8ec536e3fcd16fc57902cba339f.tar.gz
kernel-qcow2-linux-bf56cc04ef97c8ec536e3fcd16fc57902cba339f.tar.xz
kernel-qcow2-linux-bf56cc04ef97c8ec536e3fcd16fc57902cba339f.zip
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>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions