git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8eb399
)
checkpatch: Add check for kcalloc argument order
author
Joe Perches
<joe@perches.com>
Fri, 22 Feb 2013 00:44:18 +0000
(16:44 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:26 +0000
(17:22 -0800)
kcalloc is sometimes misused with the first and second arguments switched.
Same issue with kmalloc_array too.
Bleat if sizeof is the first argument
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found