summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-03-23 02:34:44 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 03:44:15 +0300
commit309c00c73f053a905d144b430d4fb55d811085e2 (patch)
tree2226c4b1c86395078abfccdb54b17be93ea6e8ad /scripts/coccinelle
parentb0781216e7bff68aca2fbcd275b4db7531d1e22f (diff)
downloadlinux-309c00c73f053a905d144b430d4fb55d811085e2.tar.xz
checkpatch: warn about memset with swapped arguments
Because the second and third arguments of memset have the same type, it turns out to be really easy to mix them up. This bug comes up time after time, so checkpatch should really be checking for it at patch submission time. Signed-off-by: Dave Jones <davej@redhat.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions