diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-03-27 06:23:40 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2017-04-11 22:40:09 +0300 |
commit | 3393af24b665cb0aea7353b05e522b03ab1e7d73 (patch) | |
tree | 4cead9a9bc1979fa5e333fca7a9b6185b405ee0b /samples | |
parent | 1282ba7fc28dbc66c3f0e4aaafaaa228361d1ae5 (diff) | |
download | linux-3393af24b665cb0aea7353b05e522b03ab1e7d73.tar.xz |
vfio/spapr_tce: Check kzalloc() return when preregistering memory
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions