lkml.org 
[lkml]   [2006]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [patch] initialize variables to reduce i386 warnings
Date
On Sunday 21 May 2006 01:19, you wrote:
> Initialized cpu_freq in arch/i386/kernel/cpu/transmeta.c to suppress warning.

> index 9202b67..3a7e485 100644
> --- a/arch/i386/kernel/efi.c
> +++ b/arch/i386/kernel/efi.c
> @@ -270,8 +270,8 @@ void efi_memmap_walk(efi_freemem_callbac
> {
> int prev_valid = 0;
> struct range {
> - unsigned long start;
> - unsigned long end;
> + unsigned long start = 0;
> + unsigned long end = 0;
> } prev, curr;

Did you actually try to compile the stuff before submission?
-
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: 2006-05-21 01:30    [from the cache]
©2003-2011 Jasper Spaans