From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: build warning after merge of the wireless-drivers-next tree Date: Fri, 13 Jan 2017 11:12:50 +1100 Message-ID: <20170113111250.2023a160@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from ozlabs.org ([103.22.144.67]:39287 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750888AbdAMATp (ORCPT ); Thu, 12 Jan 2017 19:19:45 -0500 Sender: linux-next-owner@vger.kernel.org List-ID: To: Kalle Valo , Wireless Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Xinming Hu , Amitkumar Karwar Hi all, After merging the wireless-drivers-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/net/wireless/marvell/mwifiex/pcie.c: In function 'mwifiex_pcie_remove': drivers/net/wireless/marvell/mwifiex/pcie.c:303:5: warning: 'fw_status' may be used uninitialized in this function [-Wmaybe-uninitialized] if (fw_status == FIRMWARE_READY_PCIE && !adapter->mfg_mode) { ^ Introduced by commit 045f0c1b5e26 ("mwifiex: get rid of global user_rmmod flag") This is not a false positive since "reg" could be NULL just above (otherwise it would be tested for). -- Cheers, Stephen Rothwell