Re: [PATCH] kgdb: Fix warning with !CONFIG_DEBUG_RODATA

From: Andi Kleen
Date: Fri Sep 21 2012 - 17:06:50 EST


On Fri, Sep 21, 2012 at 04:01:55PM -0500, Jason Wessel wrote:
> On 09/21/2012 03:59 PM, Andi Kleen wrote:
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> >
> > Fixes
> >
> > arch/x86/kernel/kgdb.c: In function âkgdb_arch_set_breakpointâ:
> > arch/x86/kernel/kgdb.c:749:7: warning: unused variable âopcâ [-Wunused-variable]
> >
> > when CONFIG_DEBUG_RODATA is not defined.
> >
>
> This is already pending along with other fixes in kgdb-next / linux next for the 3.7 merge window.

Ok. This was broken in 3.5 too. Next time please fast track warning fixes.

It's about the only warning in my standard builds.

-Andi
--
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/