diff options
author | Aaron Ma <aaron.ma@canonical.com> | 2019-03-13 21:53:24 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-03-15 16:22:05 +0100 |
commit | bb6bccba390c7d743c1e4427de4ef284c8cc6869 (patch) | |
tree | 6ecc7bc4382425f2d9a4b0188848b9454261cbf9 /drivers/rtc | |
parent | d05e4c8600c36084ce9de6249bb972c9bdd75b7e (diff) |
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 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions