Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403716

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

From Stanislaw Gruszka <sgruszka@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] iwlegacy: avoid warning about missing braces
Date 2016-05-19 14:50 +0200
Message-ID <rAvyO-8iS-15@gated-at.bofh.it> (permalink)
References <rAr2a-5i8-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <sgruszka@redhat.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] iwlegacy: avoid warning about missing braces Arnd Bergmann <arnd@arndb.de> - 2016-05-19 10:00 +0200
  Re: [PATCH] iwlegacy: avoid warning about missing braces Stanislaw Gruszka <sgruszka@redhat.com> - 2016-05-19 14:50 +0200

csiph-web