diff options
author | 2023-02-02 14:41:24 +0800 | |
---|---|---|
committer | 2023-02-20 19:26:59 -0500 | |
commit | 08707b5c3344864d8948cb67706bad489b86773d (patch) | |
tree | d259e1bab5cdf5334475f08ab0ecd4d49682b558 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vdpa: Fix a couple of spelling mistakes in some messages (diff) | |
download | wireguard-linux-08707b5c3344864d8948cb67706bad489b86773d.tar.xz wireguard-linux-08707b5c3344864d8948cb67706bad489b86773d.zip |
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 <zyytlz.wz@163.com>
Message-Id: <20230202064124.22277-1-zyytlz.wz@163.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions