Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3459513imm; Tue, 29 May 2018 07:37:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZomKkRT8BKvupAMPRAqGN+FAkwDoxX564f6d3HFofOfyuI45kJD2O788so0K+FiUtA45MU0 X-Received: by 2002:a63:b54b:: with SMTP id u11-v6mr14083950pgo.365.1527604660992; Tue, 29 May 2018 07:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527604660; cv=none; d=google.com; s=arc-20160816; b=kJOwh+hcYuVNyjVUkbBhW6/Oj/X6r3J72OzCpIFHjdGuxS1D3BcnTszc8y6kEEUkWz cpWIWb/9us/JvebglZ7O+itP4T+B1C1El709Red6uv4k0u728r5nMD5rK05cjLWqDh2l pva05wpV+TxVUFYxKanez75HugZmVIZa91lEwZiZS7lD61nvfNVn1NXv+dqel2LJaaxP qHUr4q2bRc6FDxec2HCO16X6j1SjRqyTUvUtdHvVVOUQ+01iOm15FARLIsxXilYiqukx OnMqQ7nwAnRYWGH3RrnY4FqQDWJ2z8jjEk7l7usTK3wRQe4TH29JdEoGvYTtZw4K3VCZ nN8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=OxDBoakgq1S554foTwGyMXALUrqiJ3lE62NDTydFfR8=; b=EDL2w1vO5xkPTHQCdFvtzk2JH6YmQsws/Rgh1etaS19YXFb+8M5y3yRfzP4oYjcZe6 ACCvrJxuFATX8B9HVXHVVbjx9SirCKe8s9sgxbanmopeh5nCVk8u301RO9lM1yYJ7dbO QMkXXwn/KKMQabLJuuCAVUbu9uy8SJLzSCKbny/T3tGZjrBtNCihRu5QMGFMxDbjw7pu tyJYurtHtD5djdLobgvIO34fYJNYXOiwB2xuylnGpZO3ov6KtrNeNf2b2RJCSyBZDBts Ie/iK1AXY9bLYpQ885/sJanhAUCFYOEP4D+G6j5JxWxe+PJBuxVCTmRf/pE+P81sbbYi xrtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VpMFDWro; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h62-v6si8551059pge.184.2018.05.29.07.36.56; Tue, 29 May 2018 07:37:40 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=VpMFDWro; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934974AbeE2Of2 (ORCPT + 99 others); Tue, 29 May 2018 10:35:28 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:37008 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934533AbeE2Of0 (ORCPT ); Tue, 29 May 2018 10:35:26 -0400 Received: by mail-wr0-f196.google.com with SMTP id i12-v6so25948881wrc.4; Tue, 29 May 2018 07:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OxDBoakgq1S554foTwGyMXALUrqiJ3lE62NDTydFfR8=; b=VpMFDWro5Q/nIx6XAlR5bWseCb8Og0eLO3S1XCxsniXTcvQD3NJJ+xgPE5UNBXrY4/ QFi0IV+mkJi4gxgLR2NkX+kIr/bs/Y7n7qW0XwhesbKH42re3Kqq2LtPgwu7hDeQfHMd /doCok6YPcOSVRhFgwtIbqeDkMsk/3XmIBwGtJpGv7brGEgM2PlQOGLvafzkCKVB5q2O 3bX6Dee65NT9OLYQDnNL64O1L9Yw+lUfEg/V+H90ZezY4UsyQq2Piq7dTU1WclyMu+Ce Po7ndkmebd7ibkcC+kVUntPxE+zT/W3OTzV+rDQ3Gu2DIBUAO1j89Y1L9KuPhtZRBoGx 6tpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OxDBoakgq1S554foTwGyMXALUrqiJ3lE62NDTydFfR8=; b=c21h+Lri24SaSoQKoFsUGmO4uJRGDHq20ZSarvFEitue6sUX9J+ahmv2lFE3dh6PfM zqXALZqPrshglD4qL2lHcH8aRNM9MfVoCrUVUPX2qmjTIgz0tYzFE/fFtalmLBTNGYQu 4kVtalsdOvszJlMhwSJbE+xb3vINeGjP2ReLglvf9nvy7tuKStR+xBPdiy68h7kzS7FC +5TuLnm7l3PbJJY22GeTG0rwH0z4pD1BpWp0zRcr2GUDSqCYPtutyc49yT31S7JyI0yK 6lOH6wcIoKhOHQLEpqHqxaV98sFnammB2M4uBff9NUILowVURCYiTUzz7ISKs3E1q5Rd 2wcg== X-Gm-Message-State: ALKqPwdzOme9Fvi/l6tDpEJ8enkwQCQwadweE9QsCwtzgAlPpChu5Y84 dA02TES86ZOOyQZSldIJ63c= X-Received: by 2002:adf:96ad:: with SMTP id u42-v6mr14789273wrb.184.1527604525073; Tue, 29 May 2018 07:35:25 -0700 (PDT) Received: from localhost (p2E5BEDA6.dip0.t-ipconnect.de. [46.91.237.166]) by smtp.gmail.com with ESMTPSA id u69-v6sm21543297wma.37.2018.05.29.07.35.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 07:35:24 -0700 (PDT) Date: Tue, 29 May 2018 16:35:23 +0200 From: Thierry Reding To: Arnd Bergmann Cc: Jonathan Hunter , arm@kernel.org, Rob Herring , Lorenzo Pieralisi , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: tegra: fix compile-testing PCI host driver Message-ID: <20180529143523.GC22634@ulmo> References: <20180528155603.2897776-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="B4IIlcmfBL/1gGOG" Content-Disposition: inline In-Reply-To: <20180528155603.2897776-1-arnd@arndb.de> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --B4IIlcmfBL/1gGOG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 28, 2018 at 05:55:29PM +0200, Arnd Bergmann wrote: > The tegra_cpuidle_pcie_irqs_in_use() function is stubbed out for non-ARM > builds, but now we can compile-test the Tegra pci driver on non-Tegra > ARM platforms as well, which results in a new link error: >=20 > drivers/pci/host/pci-tegra.o: In function `tegra_pcie_map_irq': > pci-tegra.c:(.text+0x288): undefined reference to `tegra_cpuidle_pcie_irq= s_in_use' > drivers/pci/host/pci-tegra.o: In function `tegra_msi_map': > pci-tegra.c:(.text+0xba0): undefined reference to `tegra_cpuidle_pcie_irq= s_in_use' >=20 > This adapts the #ifdef statement to match the exact condition under which > the function can be called. >=20 > Fixes: 51bc085d6454 ("PCI: Improve host drivers compile test coverage") > Cc: Rob Herring > Cc: Lorenzo Pieralisi > Signed-off-by: Arnd Bergmann > --- > include/soc/tegra/cpuidle.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Thierry Reding --B4IIlcmfBL/1gGOG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlsNZSoACgkQ3SOs138+ s6Ec3A//Zw0zUyLLCkCndx7u2+S72eIFGD3MuGqe0POjx0YF6R5XOtJRjlIoFW2s 9L9srM7kuRjDCcfRamywQA28RbqHm9nrfP7ZrC9bMg2nUsN6rY43OexWNRuko1Z5 F490DiSy7OmJWklqaoUEyKTfJlhAHA+P+ybLniW7tA6swsG/yvVnPjwB/QtsDsnH nP7e2BupmuQkwqP6BZiPVgfmAPRE1oqFTkqthQr6Y7g5T7ruo/5RqYl3kSuK9Jwq +QBRbO6H+S0rfmiehhN6dpdeU79W6t4kKipiLQ1lxim04zh0je8owxcUjtP44I9V LFImmaoHCGNCX/sQDSYeT+pN6fyIZV9YZeUsHpF7epCL3f3HO8hIRV+FG8pNHF9t BxhefiwMH4P2d6B5/NzsLAEZzHS/FaWYygUTiFRaa3RoUhs28HXmcNiOzpEj1nTB VvYTc0RKGI82CBSuXt75BQPbOcWqKW0dgM/dwQIqVkagDqgiRisys1FcgAOzUkII hAfjs6Qg9rHeMR3Eecb7GbFrxvw7OeLobSCznGow0uP1aI3J/n537AeTZ1UCENEl 0EDbgdd/fLNvGBGSdSFapM5HsyAHtVZss50qdPjBr95/XjySNOMroVCgzC+F8Ewv lNuKbfI79fjmRi3N7RhVb6lcjkX+h0RhiWsQbH9SI5eu0MAP7wU= =dY5R -----END PGP SIGNATURE----- --B4IIlcmfBL/1gGOG--