Re: [PATCH] math-emu: Fix compiler warnings

From: Kumar Gala
Date: Thu Aug 21 2008 - 10:21:33 EST



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@xxxxxxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxxxxxx>
---

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/