aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJames Simmons <[email protected]>2017-08-19 22:26:16 -0400
committerGreg Kroah-Hartman <[email protected]>2017-08-22 18:36:48 -0700
commit402fba76c3e2029ebcdfb2df9efc9f4e61da44f7 (patch)
tree61dd63cad3d05c8ddaddeddd1f1cde2c2f84e399 /tools/perf/scripts/python/stackcollapse.py
parent18bd20841bd3b70d502b1d78e40c0bde2af9e663 (diff)
staging: lustre: uapi: don't memory allocate in UAPI header
The inline function lustre_cfg_new() calls kzalloc() but this is a UAPI header. Remove kzalloc() and rename the function to lustre_cfg_init(). The lustre kernel code that was calling lustre_cfg_new() can doing the memory allocation and pass the new buffer to lustre_cfg_init() to fill in. Signed-off-by: James Simmons <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6401 Reviewed-on: https://review.whamcloud.com/26966 Reviewed-by: Quentin Bouget <[email protected]> Reviewed-by: Ben Evans <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: James Simmons <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions