[PATCH] math-emu: Fix compiler warnings
Kumar Gala
galak at kernel.crashing.org
Fri Aug 22 00:20:26 EST 2008
On Aug 21, 2008, at 8:49 AM, Stephen Rothwell wrote:
> Hi Kumar,
>
> On Thu, 21 Aug 2008 07:50:20 -0500 Kumar Gala <galak at kernel.crashing.org
> > wrote:
>>
>> 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>
>> ---
>>
>> I intend these patches to go via the powerpc.git tree if no one has
>> issues.
>>
>> - k
>>
>> include/math-emu/op-2.h | 2 +-
>
> Are you modifying the right file here? There is also
> arch/powerpc/math-emu/op-2.h which contains the same construct.
I forgot to mention this is a precursor to moving arch/powerpc to
using the generic math-emu code in include/math-emu/
I don't see any reason to fixup the old code.
- k
More information about the Linuxppc-dev
mailing list