Re: [patch V2 01/46] iommu/amd: Prevent NULL pointer dereference
From: Joerg Roedel
Date: Thu Aug 27 2020 - 10:58:05 EST
On Wed, Aug 26, 2020 at 01:16:29PM +0200, Thomas Gleixner wrote:
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> Dereferencing irq_data before checking it for NULL is suboptimal.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Acked-by: Joerg Roedel <jroedel@xxxxxxx>
Reviewed-by: Joerg Roedel <jroedel@xxxxxxx>