Alexey Kardashevskiy
bab8ac1b27
vfio/spapr_tce: Check kzalloc() return when preregistering memory
[ Upstream commit 3393af24b665cb0aea7353b05e522b03ab1e7d73 ]
This adds missing checking for kzalloc() return value.
Fixes: 4b6fad7097f8 ("powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
2018-03-22 09:17:51 +01:00 |
| .. |
|
pci
|
vfio/pci: Virtualize Maximum Payload Size
|
2017-12-25 14:23:45 +01:00 |
|
platform
|
vfio: platform: mark symbols static where possible
|
2016-09-13 16:11:37 -06:00 |
|
Kconfig
|
vfio: Include No-IOMMU mode
|
2015-12-21 15:28:11 -07:00 |
|
Makefile
|
vfio: Split virqfd into a separate module for vfio bus drivers
|
2015-03-17 08:33:38 -06:00 |
|
vfio.c
|
vfio: New external user group/file match
|
2017-07-27 15:08:03 -07:00 |
|
vfio_iommu_spapr_tce.c
|
vfio/spapr_tce: Check kzalloc() return when preregistering memory
|
2018-03-22 09:17:51 +01:00 |
|
vfio_iommu_type1.c
|
vfio/type1: Remove locked page accounting workqueue
|
2017-05-20 14:28:38 +02:00 |
|
vfio_spapr_eeh.c
|
drivers/vfio: Support EEH error injection
|
2015-05-12 20:33:35 +10:00 |
|
virqfd.c
|
vfio: Split virqfd into a separate module for vfio bus drivers
|
2015-03-17 08:33:38 -06:00 |