Re: iwlegacy: avoid warning about missing braces
From: Kalle Valo
Date: Tue Jun 14 2016 - 10:26:42 EST
Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxx>
> Acked-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>
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/