aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chsc.h
diff options
context:
space:
mode:
authorFarhan Ali <alifm@linux.ibm.com>2019-07-11 10:28:52 -0400
committerCornelia Huck <cohuck@redhat.com>2019-07-15 14:15:37 +0200
commit8b515be512a2435bb8aedc6390cbe140167f9eb9 (patch)
tree6b9f6372e4f1060ba3d5b068986798f4893259c3 /drivers/s390/cio/chsc.h
parentvfio-ccw: Fix misleading comment when setting orb.cmd.c64 (diff)
downloadlinux-dev-8b515be512a2435bb8aedc6390cbe140167f9eb9.tar.xz
linux-dev-8b515be512a2435bb8aedc6390cbe140167f9eb9.zip
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>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
0 files changed, 0 insertions, 0 deletions