Received: by 10.223.176.5 with SMTP id f5csp2618249wra; Thu, 1 Feb 2018 03:23:33 -0800 (PST) X-Google-Smtp-Source: AH8x225EteW7R+j+8OpkNuWbfHTP18m8R4jm9iq9Lk7awDoezKlVArAyMJ4Wk1Pu2+SzZ3qq3+CU X-Received: by 10.99.108.7 with SMTP id h7mr28569637pgc.292.1517484213051; Thu, 01 Feb 2018 03:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517484213; cv=none; d=google.com; s=arc-20160816; b=aq4XiyehtkuiRavV2bRqgGkLyG0Hc8I/oqwspFMJyfdgY3lPadj4rg8c37ZcV+0ybT aCivDtq7sk1Jn/GMpi8gG/BUvp/HJwlwCvSBUKqRckvrFJW9K4UakCY+Aqq9AoCuR5mz aGAzLH9xEINHJwdKLev0lfCHm7TUcztSE52sL1pHac6C6DdwX9M8bDKivtOdWx3/egEr 7qAOBPJyNUmoS1Oq6CrMTYzTGLZ9+E+04syUTLi0nB5zmC6o9D3IzmxQm4yQQO+KaJXY 1M5BN+7w/j73wDiQ1YZbLBI61XGRtdsTFEiJgWpuPoHUO7MGVUlTWXlg4iMbvd86a99/ PPYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=baYrrKb7Ci4jZUpFgMkZnDslbeuUqI31HbOlfdBESlw=; b=UqtA/CBuAKvvLFCyMzbMXXtAkMC73lfKWaF1GcNgAU3RUZmCSbpmG5jJEYTViC8b4j Lvr6I9E32kRjZtvJRQ1ZXAxGG+xuY5e2KdLcvr3HS1OL75HV5gqtvHcgTvB0hLyb9Q2Z HKFaesqtTaaN9jG7jra3OEqpuTxLqdp6mPAPXJ1Go9AyFbpDxwB0QPQC0DatZTMAt6ky UHujsdByV8mJq0+c5PLZBMhibA6BDAkYi//nLT2A2n6p5mzf6kn8PlWaanIW1xKppPdb sbGY5Ztac0TDJvEqKq8Na47UuxZasTEaPB1CMvEfyWWx3ThVqzicOIsqqhfWCxkKiKDs ICUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w13gRtlt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r9si3794568pfr.296.2018.02.01.03.23.17; Thu, 01 Feb 2018 03:23:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w13gRtlt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752188AbeBALWV (ORCPT + 99 others); Thu, 1 Feb 2018 06:22:21 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:22672 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751772AbeBALWT (ORCPT ); Thu, 1 Feb 2018 06:22:19 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w11BM4ik018938; Thu, 1 Feb 2018 05:22:04 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517484124; bh=Z1yWE96uDMCq0X4JbjdRBUbgNKvd/UTioRrs9Xfqkwo=; h=Subject:To:References:CC:From:Date:In-Reply-To; b=w13gRtltAFetS5cmUIVWmOg81A6IdjijqPrCYpYCdiLqVhgkrou5lHOZtH6H9k6HR XRjtR/9UP30m4WlrY8B3D0SbDzxgQOsQ4v9+Z/m9mphTWWewNemGEUi6msLN4aygjn Ub6gxyKZ0aPk38t3tppuHLa2Or1LAHtQYVSg68wY= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w11BM48x021154; Thu, 1 Feb 2018 05:22:04 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 1 Feb 2018 05:22:04 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Thu, 1 Feb 2018 05:22:04 -0600 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w11BM14A011558; Thu, 1 Feb 2018 05:22:02 -0600 Subject: Re: linux-next: build failure after merge of the pci tree To: Niklas Cassel , Lorenzo Pieralisi References: <20180201105114.562aef46@canb.auug.org.au> <20180201085608.GA22568@axis.com> <20180201111054.GA3983@e107981-ln.cambridge.arm.com> <20180201111617.GA8396@axis.com> CC: Stephen Rothwell , Bjorn Helgaas , Linux-Next Mailing List , Linux Kernel Mailing List , Cyrille Pitchen From: Kishon Vijay Abraham I Message-ID: <30c8c87f-bba9-d71e-b8d5-4b547711bab2@ti.com> Date: Thu, 1 Feb 2018 16:52:01 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20180201111617.GA8396@axis.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Niklas, On Thursday 01 February 2018 04:46 PM, Niklas Cassel wrote: > On Thu, Feb 01, 2018 at 11:10:54AM +0000, Lorenzo Pieralisi wrote: >> On Thu, Feb 01, 2018 at 09:56:09AM +0100, Niklas Cassel wrote: >>> On Thu, Feb 01, 2018 at 10:51:14AM +1100, Stephen Rothwell wrote: >>>> Hi Bjorn, >>>> >>>> After merging the pci tree, today's linux-next build (arm >>>> multi_v7_defconfig) failed like this: >>>> >>>> drivers/pci/dwc/pcie-designware-ep.c: In function 'dw_pcie_ep_raise_msi_irq': >>>> drivers/pci/dwc/pcie-designware-ep.c:293:8: error: too few arguments to function 'dw_pcie_ep_map_addr' >>>> ret = dw_pcie_ep_map_addr(epc, ep->msi_mem_phys, msg_addr, >>>> ^~~~~~~~~~~~~~~~~~~ >>>> drivers/pci/dwc/pcie-designware-ep.c:177:12: note: declared here >>>> static int dw_pcie_ep_map_addr(struct pci_epc *epc, u8 func_no, >>>> ^~~~~~~~~~~~~~~~~~~ >>>> drivers/pci/dwc/pcie-designware-ep.c:300:2: error: too few arguments to function 'dw_pcie_ep_unmap_addr' >>>> dw_pcie_ep_unmap_addr(epc, ep->msi_mem_phys); >>>> ^~~~~~~~~~~~~~~~~~~~~ >>>> drivers/pci/dwc/pcie-designware-ep.c:161:13: note: declared here >>>> static void dw_pcie_ep_unmap_addr(struct pci_epc *epc, u8 func_no, >>>> ^~~~~~~~~~~~~~~~~~~~~ >>>> >>>> Caused by commit >>>> >>>> 4494738de0d9 ("PCI: endpoint: Add the function number as argument to EPC ops") >>>> >>>> interacting with commit >>>> >>>> 6f6d7873711c ("PCI: designware-ep: Add generic function for raising MSI irq") >>>> >>>> This should have been fixed up in commit >>>> >>>> 26b259ab4fe8 ("Merge remote-tracking branch 'lorenzo/pci/dwc' into next") >>>> >>>> I have used the pci tree from next-20180131 for today. >>> >>> Hello, >>> >>> A suggested merge resolution included as an attachment. >> >> The resolution is OK to me - we have not spotted it since >> PCI_ENDPOINT is being turned on in the config file in question only >> in -next, it is not on by default in current mainline, apologies. >> >> Lorenzo > > Adding Kishon to CC, he should probably have a look. > > https://marc.info/?l=linux-kernel&m=151747537928327&w=2 > > If Kishon approves the suggested merge resolution, > perhaps it can be squashed with Cyrille's patch. The patch looks good to me. Thanks Kishon