[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110914150452.GA12638@linux-mips.org>
Date: Wed, 14 Sep 2011 17:04:52 +0200
From: Ralf Baechle <ralf@...ux-mips.org>
To: "Maxin B. John" <maxin.john@...il.com>
Cc: David Daney <david.daney@...ium.com>,
Lucas De Marchi <lucas.demarchi@...fusion.mobi>,
Kevin Cernekee <cernekee@...il.com>, linux-mips@...ux-mips.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mips: mm: tlbex.c: Fix compiler warnings
On Fri, Sep 09, 2011 at 01:06:00AM +0300, Maxin B. John wrote:
> CC arch/mips/mm/tlbex.o
> cc1: warnings being treated as errors
> arch/mips/mm/tlbex.c: In function 'build_r3000_tlb_modify_handler':
> arch/mips/mm/tlbex.c:1769: error: 'wr.r1' is used uninitialized in this function
> arch/mips/mm/tlbex.c:1769: error: 'wr.r2' is used uninitialized in this function
> arch/mips/mm/tlbex.c:1769: error: 'wr.r3' is used uninitialized in this function
> make[2]: *** [arch/mips/mm/tlbex.o] Error 1
> make[1]: *** [arch/mips/mm] Error 2
> make: *** [arch/mips] Error 2
This was fixed by 949cb4ca0aa53e97ea5f524536593ad2d2946b73. The real
fix to not pass the wr members to build_pte_modifiable() because they
just are not needed.
Thanks,
Ralf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists