lkml.org 
[lkml]   [2009]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6.29-rc2-git2] compilation warnings
At Tue, 27 Jan 2009 09:46:28 +0100,
Jean Delvare wrote:
>
> On Tue, 27 Jan 2009 08:32:17 +0100, Takashi Iwai wrote:
> > At Tue, 27 Jan 2009 08:15:29 +0100,
> > Rufus & Azrael wrote:
> > >
> > > Here are my compilation warnings for fresh 2.6.29-rc2-git2 kernel :
> > >
> > > > sound/pci/hda/hda_codec.c: In function ‘get_empty_pcm_device’:
> > > > sound/pci/hda/hda_codec.c:2544: attention : ‘dev’ may be used
> > > > uninitialized in this function
> >
> > A bogus warning. Ignore this.
>
> No matter how bogus it is, it should be fixed. Otherwise this is
> wasting the time of users and developers over and over again.

Well, it's a bug of gcc appearing only in a certain version, so most
people won't see it.

Of course, we can put uninitialized_var(). But, I don't basically
like adding it unconditionally...


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-01-27 10:37    [W:0.126 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site