linux/drivers/s390
Julian Wiedmann f14be54a0f s390/qdio: don't release memory in qdio_setup_irq()
commit 2e68adcd2f upstream.

Calling qdio_release_memory() on error is just plain wrong. It frees
the main qdio_irq struct, when following code still uses it.

Also, no other error path in qdio_establish() does this. So trust
callers to clean up via qdio_free() if some step of the QDIO
initialization fails.

Fixes: 779e6e1c72 ("[S390] qdio: new qdio driver.")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-10-21 08:46:09 +01:00
..
block s390/dasd: fix IO error for newly defined devices 2018-10-21 08:45:36 +01:00
char s390/vmlogrdr: fix IUCV buffer allocation 2017-03-16 02:26:34 +00:00
cio s390/qdio: don't release memory in qdio_setup_irq() 2018-10-21 08:46:09 +01:00
crypto crypto: prefix module autoloading with "crypto-" 2015-02-04 10:57:48 +00:00
kvm KVM: s390: virtio-ccw: don't overwrite config space values 2015-07-15 10:01:12 +01:00
net s390/qeth: handle failure on workqueue creation 2018-10-21 08:45:35 +01:00
scsi scsi: zfcp: fix infinite iteration on ERP ready list 2018-10-21 08:45:56 +01:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00