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

Re: iwlegacy: avoid warning about missing braces

From: Kalle Valo <hidden>
Date: 2016-06-14 14:26:40
Also in: linux-wireless, lkml

Arnd Bergmann [off-list ref] 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>
Thanks, 1 patch applied to wireless-drivers-next.git:

2cce76c3fab4 iwlegacy: avoid warning about missing braces

-- 
Sent by pwcli
https://patchwork.kernel.org/patch/9124661/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help