Wei Yongjun 987ca7ca1f 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>
2019-09-05 15:18:15 +02:00
..
2019-02-05 14:29:23 +01:00
2019-04-29 10:47:01 +02:00
2018-10-31 08:54:16 -07:00
2018-07-17 07:27:55 +02:00
2019-04-24 14:18:51 +02:00
2018-04-10 07:38:59 +02:00
2018-02-05 07:34:52 +01:00
2019-08-23 12:53:32 +02:00
2019-08-23 12:53:32 +02:00
2019-08-23 12:53:32 +02:00