1
0
Fork 0
alistair23-linux/drivers/s390
Wei Yongjun 46a22f3ea1 s390/ism: fix error return code in ism_probe()
[ Upstream commit 29b74cb75e ]

Fix to return negative error code -ENOMEM from the smcd_alloc_dev()
error handling case instead of 0, as done elsewhere in this function.

Fixes: 684b89bc39 ("s390/ism: add device driver for internal shared memory")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-20 08:20:26 +02:00
..
block s390/dasd: fix data corruption for thin provisioned devices 2020-03-18 07:17:52 +01:00
char s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
cio s390/cio: avoid duplicated 'ADD' uevents 2020-04-29 16:33:01 +02:00
crypto s390/zcrypt: fix card and queue total counter wrap 2020-03-05 16:43:36 +01:00
net s390/ism: fix error return code in ism_probe() 2020-05-20 08:20:26 +02:00
scsi scsi: zfcp: fix missing erp_lock in port recovery trigger for point-to-point 2020-04-17 10:50:18 +02:00
virtio virtio/s390: fix race on airq_areas[] 2019-07-26 13:36:18 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00