Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-14

Re: [PATCH] iwlegacy: avoid warning about missing braces

From: Stanislaw Gruszka <hidden>
Date: 2016-05-19 12:41:01
Also in: linux-wireless, lkml

On Thu, May 19, 2016 at 09:58:49AM +0200, Arnd Bergmann wrote:
gcc-6 warns about code in il3945_hw_txq_ctx_free() being
somewhat ambiguous:

drivers/net/wireless/intel/iwlegacy/3945.c:1022:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

This adds a set of curly braces to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stanislaw Gruszka <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help