lkml.org 
[lkml]   [2013]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Query]: Regmap v3.8: Compilation Warning: regmap_read_debugfs()
On Wed, Feb 20, 2013 at 01:23:09PM +0530, Viresh Kumar wrote:

> I am unable to understand why this warning is coming and that too on
> line 180 (as that doesn't use this variable). I can't see how this variable is
> used uninitialized.

The compiler isn't as smart about code flow analysis as it thinks it is,
the code is safe. There's a patch going to Linus this merge window
which shuts up the warning.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-02-20 13:21    [W:0.031 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site