Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1478112imm; Sat, 2 Jun 2018 01:49:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLGxPyjDfHNBhxZBBi5Jd+cmQWB3i9ts7eSBClGj3+9KqKL8r/+ItlMiaiNVFXtqIvUP6Vk X-Received: by 2002:a65:45c2:: with SMTP id m2-v6mr11266762pgr.189.1527929366547; Sat, 02 Jun 2018 01:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527929366; cv=none; d=google.com; s=arc-20160816; b=NnUGV8kQykWSt+pLMXX1rWAaCkF2ba74gtv7ldF4feKJjSq6bJWcu48CyU4cut32x1 P2Eyt2EspPplfPDrvXEMwfgTiVbNwCEHAg4WQGQMi+Y7FJCEhQdUYaJMiuN3hWutJaN2 SXP3JhH8sAN9hEVljAYAjH9aFU4Zm9nqHkLLc5R3TPRk2glCHsdKzT4RpD6kARuQkQ06 jAAX8GViDXsIM+WbumHvmMY0uvD3nNlOUkYraJczP+GzQ9CMmLZROyzykmcbOsIfJhXQ 2/CBWJ3KPFXS0S+VPEPkiEW8+Wa9dyyrnt4VPJX29agA43e+houSCemLc7HMnRqg2jnU vWsg== 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=DjEcdM6M18luOcEd+eCBXVq9nVUVu3MdTO4G8qYLnGo=; b=UGBex6/aw3LiGuD6UBVJSyqpPrExNnvmZM++1VfO0tUdtkA4LCo6dM6neuCiOwli8B 9TKvBpY5bZF6fdiVb3Rjixf6uSX6F37i+qAtAM7TWDr6z1tpBLwHjBwpDy1FEkm9hN1N sXbsZmNxZyHlYxP8BPoPqTDAIFNjOFyKyZ8oerIihPPguPm9Xw2BB1HHHYe0znsjVKXK UV0Xb8h862KhDdpY8TbeJ4mpI+23z8S1uLtQNE9Xak/aeCaloeeSGS5HMxu4QKoiY91A lyE7MDOoWTC0gtPEKhhWdm1hhwGHRz5/gGew6Lv8V2YujpVSE/0+s/JdaabhBRsi7QA1 72zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=BnVw4QWM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5-v6si31790518pgn.453.2018.06.02.01.49.11; Sat, 02 Jun 2018 01:49:26 -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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=BnVw4QWM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751548AbeFBIrZ (ORCPT + 99 others); Sat, 2 Jun 2018 04:47:25 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:40003 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbeFBIrM (ORCPT ); Sat, 2 Jun 2018 04:47:12 -0400 Received: by mail-lf0-f68.google.com with SMTP id q11-v6so18120966lfc.7 for ; Sat, 02 Jun 2018 01:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DjEcdM6M18luOcEd+eCBXVq9nVUVu3MdTO4G8qYLnGo=; b=BnVw4QWMHkKqD0G+qRlJGbSjBTbxHfNMODPTtqqCV0XWIN4Zv7QeBBlEBok0fPhh1y Xyu6BCGsqShEZiZjnL5lU3Yr3WatXglBu/wUjPu8wqruAjKFS0yf3A/HyJKlCr+IspCb 5No4p37Qwlsgk6MW5SaUdqgf1YO/B3ZDj6LAY5KkWlDtTbxtpqCoHs3DRnat6jMa6nP5 RnBeLH8DUnvbtvNivgKMubEFxXeu26TuR+km3RtGN/h5Jn+hJBh9e5UAQY1vn3TefSAm gKy0mLdRsvA7yy/vEydHJFdCYwkt/+YYjNdqMNBXIi/qBrwMiyYXdmDIgdqn2e51jNWr I7wg== 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=DjEcdM6M18luOcEd+eCBXVq9nVUVu3MdTO4G8qYLnGo=; b=g1rw1k/YPO01iLlyOKtmDy5JHft6A5fcHSgU4fbcj3dfAtcS9NYgo55Qu0OxbjdcM/ Xuj4JxFZ1GUpR6Vq3U8PKQpXYWaIRjHwvav4zg075VEMShL61C9+7w6yU5toSutbnkzY 93SzmqIBF6EK/9i7fPUutcuHjcTRpUWfK4oITkJZnIXW7d60UO0jK+VxP4TOHhWVD6xl O+N2QFBzzhqt11Z+/2Y/flCNOHDYRnUIzqBOWQyoJf5fkiyDA8mtwaNAZNLj1tOwJvDp opD8dKtHbdmf9nNpYATHawN9hGKd0MLd4cwJlVpeIPjGHbCJrv5YQuNVwVXWCIdjFHPc qrhg== X-Gm-Message-State: ALKqPwcgEG0ZJACoS4gYzZKRzmLJnK4e+Z0lol4Bls+y1CeqUAt/96nS OW0S310VnwRR850q/LMsOgCbYg== X-Received: by 2002:a19:e1c2:: with SMTP id l63-v6mr8364712lfk.102.1527929230906; Sat, 02 Jun 2018 01:47:10 -0700 (PDT) Received: from localhost (h85-30-9-151.cust.se.alltele.net. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id y12-v6sm8596030lji.34.2018.06.02.01.47.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 02 Jun 2018 01:47:09 -0700 (PDT) Date: Sat, 2 Jun 2018 01:17:40 -0700 From: Olof Johansson To: Arnd Bergmann Cc: Thierry Reding , 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: <20180602081740.kf6kngvsxybl7hmg@localhost> References: <20180528155603.2897776-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180528155603.2897776-1-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: > > drivers/pci/host/pci-tegra.o: In function `tegra_pcie_map_irq': > pci-tegra.c:(.text+0x288): undefined reference to `tegra_cpuidle_pcie_irqs_in_use' > drivers/pci/host/pci-tegra.o: In function `tegra_msi_map': > pci-tegra.c:(.text+0xba0): undefined reference to `tegra_cpuidle_pcie_irqs_in_use' > > This adapts the #ifdef statement to match the exact condition under which > the function can be called. > > Fixes: 51bc085d6454 ("PCI: Improve host drivers compile test coverage") > Cc: Rob Herring > Cc: Lorenzo Pieralisi > Signed-off-by: Arnd Bergmann Applied, thanks! -Olof