linux/drivers/s390
Farhan Ali 8b515be512 vfio-ccw: Fix memory leak and don't call cp_free in cp_init
We don't set cp->initialized to true so calling cp_free
will just return and not do anything.

Also fix a memory leak where we fail to free a ccwchain
on an error.

Fixes: 812271b910 ("s390/cio: Squash cp_free() and cp_unpin_free()")
Signed-off-by: Farhan Ali <alifm@linux.ibm.com>
Message-Id: <3173c4216f4555d9765eb6e4922534982bc820e4.1562854091.git.alifm@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2019-07-15 14:15:37 +02:00
..
block s390/dasd: Handle out-of-space constraint 2019-07-11 20:39:54 +02:00
char s390/ipl: Fix detection of has_secure attribute 2019-07-11 20:40:02 +02:00
cio vfio-ccw: Fix memory leak and don't call cp_free in cp_init 2019-07-15 14:15:37 +02:00
crypto s390/zcrypt: remove the exporting of ap_query_configuration 2019-07-11 20:40:02 +02:00
net s390 updates for the 5.3 merge window 2019-07-08 10:06:12 -07:00
scsi scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs) 2019-05-29 21:52:31 -04:00
virtio virtio/s390: make airq summary indicators DMA 2019-06-15 12:25:41 +02:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00