Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3448898imm; Tue, 29 May 2018 07:27:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZogzWBSAd0BCXtAKK89muy9sVdhBpy85s0ch+CoEC1/NExeA/VkvVlEsgV/8zquZVERaY4x X-Received: by 2002:a17:902:54d:: with SMTP id 71-v6mr17861317plf.365.1527604038170; Tue, 29 May 2018 07:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527604038; cv=none; d=google.com; s=arc-20160816; b=Kvr21fl6fUL7eGSl9OdP6W+WJpIUDHlkfg07/j96UDaP6g4l/s2axyMf6YnnuGtA51 uxA2FpQF7f7diaejRiPCUnZSaojHrOHuGKxd5CTaw5LOVFvyQbKhv+i/XIXWljq0uFLl poR59bAS2RmqC1mux+Vv/ffPcLgKKnzaIx4tG/lK1viraN9QzwXrYTR7Z8vrSsxa9PoR ItHcFBpfIKLIVrtYlyVgdzaTnvqGvk11YNrfupvA2d4ck3RxGutFRcpl9OIuN24OU8II bwK5MHWAoW/65rcD+u+P9hoPMD/sKohGI/g8qzQGSqXKsoSjerQi7aftXL5Noanm+7Ty XY4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=b6tQSRoi4gI2GwyogbutMA9aV5rM66eHLcbGet9pxL0=; b=NNxbzKUtBE4Yzn8AWVW1ciLE450sBhyh3+tuhtDbry/d9B4/6zZB6vBEEq5FL0XWc2 p6sauoyl1oHdCpeLMPFePhqEY9YimBlpXagUyQn1VBJlm5eV1VIRNKAfCWndAoA97FrA P8d5I5wMIpbuGD5yFTCPZuhZiyjwpbmyB8qk2snjRZMtmRJhxm4DjyTtomB9X6NhEaCf ALWX/pxYS2gk/8ZMBpxrfeG6TfIIxntMuzJnEMt20s9rlXB7lr/p/J9lckQ6nMdygDBC PK80YrHz9KYJjwIwdbecdafPp3uDYvYDJmsB0xhS8+q70PqRY9uqXHz1ZLtzwP/FmXgs aghw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vILpnPHL; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 82-v6si8348726pgh.144.2018.05.29.07.27.03; Tue, 29 May 2018 07:27:18 -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=@kernel.org header.s=default header.b=vILpnPHL; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935419AbeE2OZh (ORCPT + 99 others); Tue, 29 May 2018 10:25:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:48096 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935107AbeE2OZe (ORCPT ); Tue, 29 May 2018 10:25:34 -0400 Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BFBE7208A0; Tue, 29 May 2018 14:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527603933; bh=JmU9MEuykCHmN9KjZKWFXDTabpVelpFqT/Rs/7xaNUw=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=vILpnPHL6aiqF9pYsVphXblmZPFjE3YEuGditUuiU/K2y85sdBLtiDOHk12MCkAsV hEBe4kFOT5TTxjsVBct1rZKM4IeKuJ9J/awx7tObqakNVWfDMPsMDeqhORkj3Xv6A9 wKbcvp/CqQvCjR1lEISJ0nTYeeg9UiniaftB7rfs= Received: by mail-qk0-f182.google.com with SMTP id j12-v6so8248753qkk.4; Tue, 29 May 2018 07:25:33 -0700 (PDT) X-Gm-Message-State: ALKqPwesQ3L8uUpRZBbXjxpmv5Aehz6wlvKoeXL8sp9wr70q+OUp+4E6 ffLW8oR5kGzK7Rk5FsRCA6TAdipKVI7MUZM4Gg== X-Received: by 2002:a37:17c5:: with SMTP id 66-v6mr14655232qkx.375.1527603932988; Tue, 29 May 2018 07:25:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a0c:9b02:0:0:0:0:0 with HTTP; Tue, 29 May 2018 07:25:12 -0700 (PDT) In-Reply-To: <20180528155603.2897776-1-arnd@arndb.de> References: <20180528155603.2897776-1-arnd@arndb.de> From: Rob Herring Date: Tue, 29 May 2018 09:25:12 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: tegra: fix compile-testing PCI host driver To: Arnd Bergmann Cc: Thierry Reding , Jonathan Hunter , ARM-SoC Maintainers , Lorenzo Pieralisi , linux-tegra@vger.kernel.org, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" 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 10:55 AM, 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 > --- > include/soc/tegra/cpuidle.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Rob Herring