From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753650AbcFUBIt (ORCPT ); Mon, 20 Jun 2016 21:08:49 -0400 Received: from ozlabs.org ([103.22.144.67]:56318 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751577AbcFUBIl (ORCPT ); Mon, 20 Jun 2016 21:08:41 -0400 Date: Tue, 21 Jun 2016 11:08:38 +1000 From: Stephen Rothwell To: Bjorn Helgaas Cc: Bjorn Helgaas , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: linux-next: build warnings after merge of the pci tree Message-ID: <20160621110838.4d4f1171@canb.auug.org.au> In-Reply-To: <20160620191136.GA17036@localhost> References: <20160620115213.07231836@canb.auug.org.au> <20160620191136.GA17036@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On Mon, 20 Jun 2016 14:11:36 -0500 Bjorn Helgaas wrote: > > On Mon, Jun 20, 2016 at 11:52:13AM +1000, Stephen Rothwell wrote: > > Hi Bjorn, > > > > After merging the pci tree, today's linux-next build (arm > > multi_v7_defconfig) produced these warnings: > > > > drivers/pci/host/pci-host-common.c: In function 'gen_pci_init': > > drivers/pci/host/pci-host-common.c:88:10: warning: return makes pointer from integer without a cast [-Wint-conversion] > > return err; > > ^ > > drivers/pci/host/pci-host-common.c:93:10: warning: return makes pointer from integer without a cast [-Wint-conversion] > > return PTR_ERR(cfg); > > ^ > > drivers/pci/host/pci-host-common.c:108:9: warning: return makes pointer from integer without a cast [-Wint-conversion] > > return err; > > ^ > > > > Introduced by commit > > > > 3f8dcfc3fbba ("PCI: generic: Free resource list close to where it's allocated") > > Fixed, thanks a lot, Stephen! Thanks. Unfortunately, I still get this warning: drivers/pci/host/pci-host-common.c: In function 'gen_pci_init': drivers/pci/host/pci-host-common.c:93:10: warning: return makes pointer from integer without a cast [-Wint-conversion] return PTR_ERR(cfg); ^ -- Cheers, Stephen Rothwell