commit | bf56cc04ef97c8ec536e3fcd16fc57902cba339f | [log] [tgz] |
---|---|---|
author | Vaishali Thakkar <vaishali.thakkar@oracle.com> | Tue May 24 09:49:17 2016 +0530 |
committer | Michal Marek <mmarek@suse.com> | Mon Jun 20 17:20:13 2016 +0200 |
tree | 0e45c354d1a4b294f001ee876086196ca6b201da | |
parent | 1a695a905c18548062509178b98bc91e67510864 [diff] |
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>