[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121022233740.GA12464@kroah.com>
Date: Mon, 22 Oct 2012 16:37:40 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Jason Wessel <jason.wessel@...driver.com>
Cc: Arnd Bergmann <arnd@...db.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
arm@...nel.org, Anton Vorontsov <anton.vorontsov@...aro.org>
Subject: Re: [PATCH 09/12] tty/console: fix warnings in
drivers/tty/serial/kgdboc.c
On Fri, Sep 28, 2012 at 04:45:37PM -0500, Jason Wessel wrote:
> On 09/28/2012 04:36 PM, Arnd Bergmann wrote:
> > The con_debug_leave/con_debug_enter functions are stubbed out
> > by defining them to (0), which causes harmless build warnings.
> > Using proper inline functions is the normal way to deal with
> > this.
> >
> > Without this patch, building the ARM bcm2835_defconfig results in:
> >
> > drivers/tty/serial/kgdboc.c: In function 'kgdboc_pre_exp_handler':
> > drivers/tty/serial/kgdboc.c:279:3: warning: statement with no effect [-Wunused-value]
> > drivers/tty/serial/kgdboc.c: In function 'kgdboc_post_exp_handler':
> > drivers/tty/serial/kgdboc.c:293:3: warning: statement with no effect [-Wunused-value]
>
>
> Thanks Arnd!
>
> I'll put this in kgdb-next for the upcoming merge window, unless Greg pulls it into his queue first.
>
> Acked-by: Jason Wessel <jason.wessel@...driver.com>
Feel free to take it in through your kgdb tree.
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
--
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