From: Dave Jones Date: Tue, 22 Mar 2011 23:34:44 +0000 (-0700) Subject: checkpatch: warn about memset with swapped arguments X-Git-Tag: v2.6.39-rc1~229 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=309c00c73f053a905d144b430d4fb55d811085e2;p=pandora-kernel.git 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 Cc: Steven Rostedt Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed