aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZheng Wang <[email protected]>2023-02-02 14:41:24 +0800
committerMichael S. Tsirkin <[email protected]>2023-02-20 19:26:59 -0500
commit08707b5c3344864d8948cb67706bad489b86773d (patch)
treed259e1bab5cdf5334475f08ab0ecd4d49682b558 /tools/perf/scripts/python/stackcollapse.py
parent699209fcc55cb97ede9ee8c2160095e0f5dfc73c (diff)
scsi: virtio_scsi: fix handling of kmalloc failure
There is no check about the return value of kmalloc in virtscsi_rescan_hotunplug. Add the check to avoid use of null pointer 'inq_result' in case of the failure of kmalloc. Signed-off-by: Zheng Wang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions