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...@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. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu