lkml.org 
[lkml]   [2009]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -tip] x86: kvm/paging_tmpl.h intialize the variable before using it
Ingo Molnar wrote:



>> It's a false alarm. Isn't there a macro to shut up the warning?
>>
>
> there's uninitialized_var(), but that will shut up the warning and
> any _correct_ future warning - so it's dangerous. Initialize it to
> NULL and be done with it? We dont want stray warnings in the kernel.
>

Makes sense, so I've applied the patch.

--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2009-05-26 13:49    [W:0.071 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site