aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorHimangi Saraogi <[email protected]>2014-08-11 01:29:37 +0530
committerFelipe Balbi <[email protected]>2014-08-19 09:21:34 -0500
commit0c5824083b8ca4aff083dc74024d0bfd46f9da9d (patch)
tree849240e6829d4db6b51ce93b305cbcb79119da76 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent2c4e3dbf63b39d44a291db70016c718f45d9cd46 (diff)
usb: phy: drop kfree of devm_kzalloc's data
Using kfree to free data allocated with devm_kzalloc causes double frees. The Coccinelle semantic patch that fixes this problem is as follows: // <smpl> @@ expression x; @@ x = devm_kzalloc(...) ... ?-kfree(x); // </smpl> Reviewed-by: Jingoo Han <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Himangi Saraogi <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions