From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: brcmfmac: avoid gcc-5.1 warning Date: Tue, 26 May 2015 10:54:10 +0000 (UTC) Message-ID: <20150526105410.13F6F1416C2@smtp.codeaurora.org> References: <2201884.BixNBcLJhn@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-wireless@vger.kernel.org, Franky Lin , brcm80211-dev-list@broadcom.com, "John W. Linville" , Pieter-Paul Giesberts , Hante Meuleman , netdev@vger.kernel.org, Brett Rudley , Arend Van Spriel , linux-arm-kernel@lists.infradead.org To: Arnd Bergmann Return-path: In-Reply-To: <2201884.BixNBcLJhn@wuerfel> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: netdev.vger.kernel.org > gcc-5.0 gained a new warning in the fwsignal portion of the brcmfmac > driver: > > drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c: In function 'brcmf_fws_txs_process': > drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized] > > This is a false positive, and marking the brcmf_fws_hanger_poppkt function > as 'static inline' makes the warning go away. I have checked the object > file output and while a little code gets moved around, the size of > the binary remains identical. > > Signed-off-by: Arnd Bergmann Thanks, applied to wireless-drivers-next.git. Kalle Valo