mirror of https://gitee.com/openkylin/linux.git
bf56cc04ef
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> |
||
---|---|---|
.. | ||
array_size.cocci | ||
badty.cocci | ||
boolinit.cocci | ||
boolreturn.cocci | ||
bugon.cocci | ||
cstptr.cocci | ||
doubleinit.cocci | ||
ifaddr.cocci | ||
ifcol.cocci | ||
irqf_oneshot.cocci | ||
noderef.cocci | ||
of_table.cocci | ||
orplus.cocci | ||
returnvar.cocci | ||
semicolon.cocci | ||
warn.cocci |