diff options
author | Dave Jones <[email protected]> | 2011-03-22 16:34:44 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-03-22 17:44:15 -0700 |
commit | 309c00c73f053a905d144b430d4fb55d811085e2 (patch) | |
tree | 2226c4b1c86395078abfccdb54b17be93ea6e8ad /include/linux/stringify.h | |
parent | b0781216e7bff68aca2fbcd275b4db7531d1e22f (diff) |
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 <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions