commit | 812a7df6556faae25deb42dbcc9e47829855556f | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Tue Jan 03 17:26:46 2017 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 06 18:59:48 2017 -0700 |
tree | f526feab115a50738d6e45b41e5999b3b4746f41 | |
parent | a417ea5b9d22dc5733f6fac5cee72735cb7f8d99 [diff] |
vfio-pci: Handle error from pci_iomap [ Upstream commit e19f32da5ded958238eac1bbe001192acef191a2 ] Here, pci_iomap can fail, handle this case release selected pci regions and return -ENOMEM. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>