From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751936AbaEVGt3 (ORCPT ); Thu, 22 May 2014 02:49:29 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:60755 "EHLO e06smtp12.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbaEVGt1 (ORCPT ); Thu, 22 May 2014 02:49:27 -0400 Date: Thu, 22 May 2014 08:49:21 +0200 (CEST) From: Sebastian Ott X-X-Sender: sebott@denkbrett To: Stephen Rothwell cc: Bjorn Helgaas , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: linux-next: build failure after merge of the pci tree In-Reply-To: <20140522140916.1a5f3801@canb.auug.org.au> Message-ID: References: <20140522140916.1a5f3801@canb.auug.org.au> User-Agent: Alpine 2.11 (LFD 23 2013-08-11) Organization: =?ISO-8859-15?Q?=22IBM_Deutschland_Research_&_Development_GmbH_=2F_Vorsitzende_des_Aufsichtsrats=3A_Martina_Koederitz_Gesch=E4ftsf=FChrung=3A_Dirk_Wittkopp_Sitz_der_Gesellschaft=3A_B=F6blingen_=2F_Registergericht?= =?ISO-8859-15?Q?=3A_Amtsgericht_Stuttgart=2C_HRB_243294=22?= MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14052206-8372-0000-0000-000009C6FB73 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, 22 May 2014, Stephen Rothwell wrote: > Hi Bjorn, > > After merging the pci tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/pci/pci-sysfs.c: In function 'devspec_show': > drivers/pci/pci-sysfs.c:426:22: error: dereferencing pointer to incomplete type > drivers/pci/pci-sysfs.c:428:30: error: dereferencing pointer to incomplete type > drivers/pci/pci-sysfs.c:429:1: warning: control reaches end of non-void function [-Wreturn-type] > > Caused by commit da647bb30834 ("PCI: Move Open Firmware devspec > attribute to PCI common code"). Presumably a forgotten include. > > I have used the pci tree from next-20140521 for today. Oops, sry for that one - this should fix it: pci: fix compile failure on arm Fix this compile error introduced by "PCI: Move Open Firmware devspec attribute to PCI common code": drivers/pci/pci-sysfs.c: In function 'devspec_show': drivers/pci/pci-sysfs.c:426:22: error: dereferencing pointer to incomplete type drivers/pci/pci-sysfs.c:428:30: error: dereferencing pointer to incomplete type drivers/pci/pci-sysfs.c:429:1: warning: control reaches end of non-void function [-Wreturn-type] Reported-by: Stephen Rothwell Signed-off-by: Sebastian Ott --- drivers/pci/pci-sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c index 4e0acef..d6e61ae 100644 --- a/drivers/pci/pci-sysfs.c +++ b/drivers/pci/pci-sysfs.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "pci.h" static int sysfs_initialized; /* = 0 */ -- 1.8.5.5