[PATCH] math-emu: Fix compiler warnings

Kumar Gala galak at kernel.crashing.org
Fri Aug 22 07:59:44 EST 2008


On Aug 21, 2008, at 4:03 PM, David Miller wrote:

> From: Kumar Gala <galak at kernel.crashing.org>
> Date: Thu, 21 Aug 2008 07:50:20 -0500
>
>> Fix warnings of the form:
>> arch/powerpc/math-emu/fsubs.c:15: warning: 'R_f1' may be used  
>> uninitialized in this function
>> arch/powerpc/math-emu/fsubs.c:15: warning: 'R_f0' may be used  
>> uninitialized in this function
>>
>> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
>
> You should look at the compiler options we use on sparc to build this
> stuff :-)
>
> EXTRA_CFLAGS = -Iinclude/math-emu -w

Yeah, I plan on doing that on PPC once I move over the global include/ 
math-emu files.

- k



More information about the Linuxppc-dev mailing list