Messages in this thread | | | Date | Fri, 15 Mar 2019 16:24:47 +0100 | From | Joerg Roedel <> | Subject | Re: [RESEND][PATCH] iommu/amd: Fix NULL dereference bug in match_hid_uid |
| |
On Wed, Mar 13, 2019 at 09:53:24PM +0800, Aaron Ma wrote: > 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> > --- > drivers/iommu/amd_iommu.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-)
Applied with cleaned-up coding style and a Fixes tag, thanks.
| |