diff options
author | Aaron Ma | 2019-03-13 14:53:24 +0100 |
---|---|---|
committer | Joerg Roedel | 2019-03-15 16:22:05 +0100 |
commit | bb6bccba390c7d743c1e4427de4ef284c8cc6869 (patch) | |
tree | 6ecc7bc4382425f2d9a4b0188848b9454261cbf9 /include/linux/usb/typec_dp.h | |
parent | Merge branches 'iommu/fixes', 'arm/msm', 'arm/tegra', 'arm/mediatek', 'x86/vt... (diff) | |
download | kernel-qcow2-linux-bb6bccba390c7d743c1e4427de4ef284c8cc6869.tar.gz kernel-qcow2-linux-bb6bccba390c7d743c1e4427de4ef284c8cc6869.tar.xz kernel-qcow2-linux-bb6bccba390c7d743c1e4427de4ef284c8cc6869.zip |
iommu/amd: Fix NULL dereference bug in match_hid_uid
Add a non-NULL check to fix potential NULL pointer dereference
Cleanup code to call function once.
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Fixes: 2bf9a0a12749b ('iommu/amd: Add iommu support for ACPI HID devices')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/usb/typec_dp.h')
0 files changed, 0 insertions, 0 deletions