aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorLiao Chang <[email protected]>2022-11-04 15:05:23 +0800
committerAndrew Morton <[email protected]>2022-11-30 16:13:16 -0800
commit3965292ad0ca70320f1c632f2ac3b886c88b9e80 (patch)
treee12b81168e39c29102ba566dd43238c872830a0f /tools/perf/scripts/python/stackcollapse.py
parentd04bb0852b8bd31c53981a04ff0132698d24523d (diff)
checkpatch: add check for array allocator family argument order
These array allocator family are sometimes misused with the first and second arguments switched. Same issue with calloc, kvcalloc, kvmalloc_array etc. Bleat if sizeof is the first argument. Link: https://lore.kernel.org/lkml/[email protected]/ Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liao Chang <[email protected]> Acked-by: Joe Perches <[email protected]> Cc: Lukas Bulwahn <[email protected]> Cc: Christophe JAILLET <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: Bagas Sanjaya <[email protected]> Cc: Dwaipayan Ray <[email protected]> Cc: Paolo Bonzini <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions