aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <[email protected]>2017-07-10 15:27:28 -0400
committerMauro Carvalho Chehab <[email protected]>2017-07-19 16:26:57 -0400
commit05f1d92f2b68386a66086b08fc6257c1c143b7ac (patch)
tree5192520da63d134313974da8612a992e152823da /tools/perf/scripts/python/bin/stackcollapse-report
parente19902225473529c8b84579930fe66156cd1f258 (diff)
media: staging: atomisp: Use kvfree() instead of kfree()/vfree()
Conditionally calling kfree()/vfree() can be replaced by a call to kvfree() which handles both kmalloced memory and vmalloced memory. The resulting wrapper function has been replaced with direct calls to kvfree(). This change was made with the help of the following Coccinelle semantic patch: //<smpl> @@ expression a; @@ - if(...) { vfree(a); } - else { kfree(a); } + kvfree(a); // </smpl> Signed-off-by: Amitoj Kaur Chawla <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions