linux-mips
[Top] [All Lists]

[PATCH] Fix MIPS math-emu -Werror compile failure encountered while doin

To: linux-mips@linux-mips.org, ralf@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Fix MIPS math-emu -Werror compile failure encountered while doing a Malta build.
From: Dragos Tatulea <dragos.tatulea@gmail.com>
Date: Sat, 25 Sep 2010 21:20:01 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=gzWwSA/jANMypSfr7AomUIMcWlalqeQnv4Uep8OALLA=; b=sX5GaPjklehcIFNjPlLD6Sr57+N4d8yoNUHgMyUUl3DCN0/AfZnaH0ahvLlnzl0rDp bVlOpCXeR3SDdl624ge88Zc6C2VQnezefeVRHdEc8eretsLgI/Ky3bGSZROFzYmXRXUE alJV9PdkLP2GHWTVceqNKmMoY0CAMW+UWmq04=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=gNYiJVqk327p07VJ5NSupLG6mN0i44uEr4xX3HonEnNv/mlmCK2kbA9MyxQX30dtgD HFIVKAoU3jTY4ciZ5X5AQDub6F/ml2XxMixsfkrizJThm+oaGDmx2tZzwfvZNzPJMrku SrFX4GlS5BOGnuUELsHpWZRSmAkIUBrQ2huVA=
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Dragos Tatulea <dragos.tatulea@gmail.com>
---
 arch/mips/math-emu/cp1emu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/math-emu/cp1emu.c b/arch/mips/math-emu/cp1emu.c
index 47842b7..c0af7f1 100644
--- a/arch/mips/math-emu/cp1emu.c
+++ b/arch/mips/math-emu/cp1emu.c
@@ -1243,7 +1243,7 @@ int fpu_emulator_cop1Handler(struct pt_regs
*xcp, struct mips_fpu_struct *ctx,
        int has_fpu)
 {
        unsigned long oldepc, prevepc;
-       mips_instruction insn;
+       mips_instruction uninitialized_var(insn);
        int sig = 0;

        oldepc = xcp->cp0_epc;
-- 
1.7.2.3

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Fix MIPS math-emu -Werror compile failure encountered while doing a Malta build., Dragos Tatulea <=