From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751175AbcFXIII (ORCPT ); Fri, 24 Jun 2016 04:08:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:56359 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbcFXIIC (ORCPT ); Fri, 24 Jun 2016 04:08:02 -0400 Date: Fri, 24 Jun 2016 10:07:55 +0200 From: Johannes Thumshirn To: Bjorn Helgaas Cc: Stephen Rothwell , Bjorn Helgaas , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: linux-next: build warning after merge of the pci tree Message-ID: <20160624080755.wjqvaunta3vsdp7i@c203.arch.suse.de> References: <20160623115154.62730f7f@canb.auug.org.au> <20160623164848.GE17987@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160623164848.GE17987@localhost> User-Agent: Mutt/1.6.1-neo (2016-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 23, 2016 at 11:48:49AM -0500, Bjorn Helgaas wrote: > On Thu, Jun 23, 2016 at 11:51:54AM +1000, Stephen Rothwell wrote: > > Hi Bjorn, > > > > After merging the pci tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > > > drivers/misc/genwqe/card_base.c: In function 'genwqe_pci_remove': > > drivers/misc/genwqe/card_base.c:1155:6: warning: unused variable 'bars' [-Wunused-variable] > > int bars; > > ^ > > drivers/misc/genwqe/card_base.c: In function 'genwqe_pci_setup': > > drivers/misc/genwqe/card_base.c:1143:2: warning: 'bars' may be used uninitialized in this function [-Wmaybe-uninitialized] > > pci_release_selected_regions(pci_dev, bars); > > ^ > > > > Introduced by commit > > > > 370b01694826 ("GenWQE: Use pci_(request|release)_mem_regions") > > Thanks, Stephen. I made the following edits, which should resolve these > warnings. Johannes, let me know if they look right to you. > Looks good, thanks. Johannes -- Johannes Thumshirn Storage jthumshirn@suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850