Re: [PATCH] genirq:Dereference desc after null pointer check

From: Thomas Gleixner
Date: Tue Jul 17 2018 - 03:51:41 EST


On Tue, 17 Jul 2018, RAGHU Halharvi wrote:

> * Remove unchecked dereferencing of *desc & assigning it local irq
> variable
> * Move the assignement after proper check of *desc for NULL pointer.

Sorry no. The NULL pointer check is pointless because the call sites
already do it before calling that function.

Thanks,

tglx