aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2013-07-03 15:05:21 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:07:44 -0700
commita640d25cead66457ac14a878234f8b323ba8aade (patch)
tree68226ed2019c2e999efdbf6ccd8d0c53a271e833 /tools/perf/scripts/python/event_analyzing_sample.py
parent95e2c6023b0e4c8499fb521697f79215f69135fe (diff)
checkpatch: add --strict preference for p = kmalloc(sizeof(*p)...
Add another test for memory allocation style to follow Documentation/CodingStyle: Chapter 14: Allocating memory The preferred form for passing a size of a struct is the following: p = kmalloc(sizeof(*p), ...); Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions