lkml.org 
[lkml]   [2013]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [char-misc-next 1/8] mei: debugfs: validate dev is not null
Date
> 
> On Mon, Oct 21, 2013 at 10:05:36PM +0300, Tomas Winkler wrote:
> > make static analyzer happy
>
> That's a stupid analyzer.
>
> Sorry, this case can never be true, so don't check for it. Fix your
> analyzer.
>
> > and validate dev argument before dereferencing
>
> Again, no need to do so, it's always set properly.
>
> sorry, I can't take this.

Fair enough, I didn't like that patch myself now I have other confirmation that this is stupid.

Tomas



\
 
 \ /
  Last update: 2013-10-30 08:41    [W:0.151 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site