diff options
author | 2021-05-19 09:50:26 +0800 | |
---|---|---|
committer | 2021-05-19 08:51:02 +0200 | |
commit | 1a590a1c8bf46bf80ea12b657ca44c345531ac80 (patch) | |
tree | f125a4f935df8b6c8d6a55f44eb879754612abdd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/virtio: Add missing MODULE_DEVICE_TABLE (diff) | |
download | wireguard-linux-1a590a1c8bf46bf80ea12b657ca44c345531ac80.tar.xz wireguard-linux-1a590a1c8bf46bf80ea12b657ca44c345531ac80.zip |
iommu/vt-d: Check for allocation failure in aux_detach_device()
In current kernels small allocations never fail, but checking for
allocation failure is the correct thing to do.
Fixes: 18abda7a2d55 ("iommu/vt-d: Fix general protection fault in aux_detach_device()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/YJuobKuSn81dOPLd@mwanda
Link: https://lore.kernel.org/r/20210519015027.108468-2-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions