From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Thompson Date: Mon, 28 May 2007 17:57:14 +0000 Subject: Re: [KJ] [PATCH] arch/i386/kernel/efi.c: fixing uninitialised variable Message-Id: <465B17FA.5030906@gmail.com> List-Id: References: <20070527201146.GA7066@dev-box> In-Reply-To: <20070527201146.GA7066@dev-box> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org Florian Westphal wrote: > thompsy wrote: > [arch/i386/kernel/efi.c:efi_memmap_walk() uninitialized access] > >> The patch initialises the prev struct as it gets checked before being >> initialised later in the code. This removes the warning generated by gcc. > > Please provide a description where/when uninitialized access occurs. > I looked at the code and couldn't find any. > > Florian > _______________________________________________ > Kernel-janitors mailing list > Kernel-janitors@lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors > I just looked again and noticed my mistake. I missed the initialisation from curr, d'oh. I'll try to be more careful next time. Thanks for looking -- Andrew Thompson _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors