diff options
author | 2013-02-21 16:44:18 -0800 | |
---|---|---|
committer | 2013-02-21 17:22:26 -0800 | |
commit | 5ce59ae0bcc0f0ad249d21560c9bb5f6061e62a8 (patch) | |
tree | 1fa6ddc462a2425d6d8d50136330c2db0b6becee /tools/perf/scripts/python/export-to-postgresql.py | |
parent | checkpatch: don't emit the CamelCase warning for PageFoo (diff) | |
download | linux-dev-5ce59ae0bcc0f0ad249d21560c9bb5f6061e62a8.tar.xz linux-dev-5ce59ae0bcc0f0ad249d21560c9bb5f6061e62a8.zip |
checkpatch: Add check for kcalloc argument order
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions