diff options
author | Farhan Ali <alifm@linux.ibm.com> | 2019-07-11 17:28:53 +0300 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2019-07-15 15:16:37 +0300 |
commit | c1ab69268d124ebdbb3864580808188ccd3ea355 (patch) | |
tree | 482613c97147ed7fedb7fa517db7d6a0eb95ebbe /crypto | |
parent | 8b515be512a2435bb8aedc6390cbe140167f9eb9 (diff) | |
download | linux-c1ab69268d124ebdbb3864580808188ccd3ea355.tar.xz |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions