[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1303291005120.1467-100000@iolanthe.rowland.org>
Date: Fri, 29 Mar 2013 10:05:54 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Tony Prisk <linux@...sktech.co.nz>
cc: Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-usb@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usb: ehci: mark unlink_empty_async_suspended() as
__maybe_unused
On Fri, 29 Mar 2013, Tony Prisk wrote:
> On 29/03/13 10:16, Arnd Bergmann wrote:
> > On Thursday 28 March 2013, Arnd Bergmann wrote:
> >> Patch 4d053fdac3 "usb: ehci: unlink_empty_async_suspended() only used
> >> with CONFIG_PM" tried to hide the unlink_empty_async_suspended function
> >> inside of an #ifdef to work around an unused function warning.
> > Hi Greg,
> >
> > Apparently the warning is now also in 3.8.5, so you might want to backport
> > this fix as well after you send it upstream.
> >
> > Arnd
> Grr, my bad - I originally wrote the patch with the forward decl
> #ifdef'd as well, but Alan pointed out that it didn't need to be. I
> thought I recompiled it after the change, but obviously not.
It's my fault too. I didn't realize the compiler would issue a warning
about a static declaration with no definition.
Alan Stern
--
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