diff options
author | 2019-09-04 08:33:15 +0000 | |
---|---|---|
committer | 2019-09-05 15:18:15 +0200 | |
commit | 987ca7ca1fda0ac470179b2110716d62e107ab06 (patch) | |
tree | f5a9b977a750d94fc09d4dbaf4f99eb279b49348 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390: vfio-ap: fix warning reset not completed (diff) | |
download | linux-rng-987ca7ca1fda0ac470179b2110716d62e107ab06.tar.xz linux-rng-987ca7ca1fda0ac470179b2110716d62e107ab06.zip |
vfio-ccw: fix error return code in vfio_ccw_sch_init()
Fix to return negative error code -ENOMEM from the memory alloc failed
error handling case instead of 0, as done elsewhere in this function.
Fixes: 60e05d1cf087 ("vfio-ccw: add some logging")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link https://lore.kernel.org/kvm/20190904083315.105600-1-weiyongjun1@huawei.com/
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions