Searched hist:c1ab69268d124ebdbb3864580808188ccd3ea355 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/s390/cio/ |
H A D | vfio_ccw_cp.c | diff c1ab69268d124ebdbb3864580808188ccd3ea355 Thu Jul 11 09:28:53 CDT 2019 Farhan Ali <alifm@linux.ibm.com> vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn
So we don't call try to call vfio_unpin_pages() incorrectly.
Fixes: 0a19e61e6d4c ("vfio: ccw: introduce channel program interfaces") Signed-off-by: Farhan Ali <alifm@linux.ibm.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <33a89467ad6369196ae6edf820cbcb1e2d8d050c.1562854091.git.alifm@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|