aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDong Jia Shi <[email protected]>2018-05-23 02:56:44 +0000
committerCornelia Huck <[email protected]>2018-05-29 07:27:42 +0000
commit6238f92132a6da64b731de1a728fa46ffaa21f62 (patch)
tree45465435d773ecf4a24a3f8ad240745da880b6ce /tools/perf/scripts/python/event_analyzing_sample.py
parentvfio: ccw: refactor and improve pfn_array_alloc_pin() (diff)
downloadkernel-6238f92132a6da64b731de1a728fa46ffaa21f62.tar.gz
kernel-6238f92132a6da64b731de1a728fa46ffaa21f62.zip
vfio: ccw: set ccw->cda to NULL defensively
Let's avoid free on ccw->cda that points to a guest address or an already freed memory area by setting it to NULL if memory allocation didn't happen or failed. Signed-off-by: Dong Jia Shi <[email protected]> Message-Id: <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions