Thread (6 messages) flat view 6 messages, 4 authors, 2013-01-28

Re: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

From: Arnd Bergmann <hidden>
Date: 2013-01-26 13:35:17
Also in: linux-arm-kernel, linux-nfs, lkml

Possibly related (same subject, not in this thread)

On Saturday 26 January 2013, Russell King - ARM Linux wrote:
On Fri, Jan 25, 2013 at 11:45:25PM +0000, Arnd Bergmann wrote:
quoted
On Friday 25 January 2013, Myklebust, Trond wrote:
quoted
quoted
-----Original Message-----
From: Arnd Bergmann [mailto:arnd-r2nGTMty4D4@public.gmane.org]
Marking it as __maybe_unused avoids a harmless gcc warning.
Alternatively, just declare it using the RPC_IFDEBUG() macro.
Right, makes sense: that's more consistent with other functions
doing the same thing. Thanks for taking a look.
NAK.

There is already a fix queued up as a result of a previous report I
sent, but for some reason (which I didn't question) it was decided
not to queue it for -rc.

See Bruce's reply on lkml: 20130108212816.GA24572-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org
Ok, makes sense. Then again, if that fix is queued for 3.9, maybe
it still makes sense to take the simpler fix into 3.8, and remove
it in 3.9 along with the other instances of RPC_IFDEBUG.

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help