lkml.org 
[lkml]   [2018]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] genirq:Dereference desc after null pointer check
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

\
 
 \ /
  Last update: 2018-07-17 09:52    [W:0.149 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site