From patchwork Mon Jan 27 23:53:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Higgins X-Patchwork-Id: 11353379 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3A334112B for ; Mon, 27 Jan 2020 23:55:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 05289206BF for ; Mon, 27 Jan 2020 23:55:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="inD4QNiU"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="QJWVurVz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05289206BF Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:Subject:References:Mime-Version :Message-Id:In-Reply-To:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=27CSGlikGsaAUK9dJyQ3CJxD3r0CQy9ZC1MLOxKSyYA=; b=inD4QNiUUeoPQF vjAy7bZJTivoywCVCW+zs3SwVXeynm9f4dNCqQT0od41z9WmXZyel2XjeK4cnfHHxsJOHl1Y8jpF+ Ai8VxE7GgIPSSVn7iVPWcw0oXruwdpN787MODxVlPqAIlY6j1APftcvEgylpHxFL5J1+lG+ENP35Z EXHgedgb+mpJ8sWM8F1bmD6chnIGAK/8wr+d0bjqbeO11f494QzZUbRvyk/Jx1ub8WUfI9LdTiCZW f7YcFqHgAj2+XHrDU8QM71lV66/+xoIVUnFqaMm0UZ0Ug95MvbE1s2OejF2w3axUqbmo6nEV2kN1a pMoiXr0p8SmdS6yDbUGQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iwEDi-0006OS-3Z; Mon, 27 Jan 2020 23:55:06 +0000 Received: from mail-pg1-x54a.google.com ([2607:f8b0:4864:20::54a]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iwEDO-0006Al-2t for linux-arm-kernel@lists.infradead.org; Mon, 27 Jan 2020 23:54:47 +0000 Received: by mail-pg1-x54a.google.com with SMTP id d129so7485276pgc.17 for ; Mon, 27 Jan 2020 15:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=LtaIREjg0GbBNJyJVnqCp3W9hRUEU+wNigeViXWJb/o=; b=QJWVurVz83htEHzzAukWZOjRvkslLJAt6RkcCPRQgUwcrrqnp2W42ISvpNSlJqhLYI HDzfPU81B/8MhLW3/BOHOTSm3GJr/tMW4jJ1uZjzTbJHZI7r00deF2uuiZE1jDlE3Ujn MIMSuULUgAiE5dl8Nrbk0b8EeQoezOApOBHVkrgqe0dU+IightjL6OUCro+mwIxTLbFb t2pFhrqSSkm11dR+u1q94/yUiey4cwHOn48bYfK20V0lZ9Glrn/woVo38KYoMyo6/pXm Ki9LI1z6JOEkTJvqF9Ngr3gnj3PxZwspaCM9AexVBTeEbEa6NoLses4XF2PhfQahE7g1 UGtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=LtaIREjg0GbBNJyJVnqCp3W9hRUEU+wNigeViXWJb/o=; b=odVEDzVFoEVk4cVFl87Zwqe7ZZzpmCiXgKnuEs/3UfkbF+CxJ/6sBF9Wex+BfkRQq8 OfVBAzgZfRBJ2P1s2pt5AGTvSAlN26GZz6an2My7BCaN29OrHipmK1ePSiRO19vMFbGD CiIMKeNlWEVbn29q+Bzd++bVfeeEIbaqj7k831yJF1qMaylJ/afuPnuOML5KohScyXch QfSnYEWcJE3iguOo7usUd2UTxIn5wfbC8ud2JiI6oe8OhHn+vGVSwfdRKWjp8GmYtaoJ u+y2/5wnddAwjuNOIQh+Wh2u5Tvd1jTg1kLQqkVqh9CUFM9sXGx1LIGKceEqwmzcrWYq 2sng== X-Gm-Message-State: APjAAAUBEUWjoYuCjjb2Q2LES1VThnO05+oh+CG5G8CRpCbkG8iBYAVK 2EccagH3CTWuRXOWds6BY4SjiHci/hLU+S4hBYz3XQ== X-Google-Smtp-Source: APXvYqweRQ8m5hhu1HXuRMedVPc2bAFe5tdPFCvhiapDMmB+s6KJgSZdl7ge+tHS5zEbJYelkAeAJQhRjXaIFteOOxWnoQ== X-Received: by 2002:a63:234f:: with SMTP id u15mr21895366pgm.88.1580169284558; Mon, 27 Jan 2020 15:54:44 -0800 (PST) Date: Mon, 27 Jan 2020 15:53:52 -0800 In-Reply-To: <20200127235356.122031-1-brendanhiggins@google.com> Message-Id: <20200127235356.122031-2-brendanhiggins@google.com> Mime-Version: 1.0 References: <20200127235356.122031-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog Subject: [PATCH v1 1/5] net: axienet: add unspecified HAS_IOMEM dependency From: Brendan Higgins To: jdike@addtoit.com, richard@nod.at, anton.ivanov@cambridgegreys.com, "David S . Miller" , Michal Simek , Andrew Lunn , Robert Hancock , Esben Haabendal , Thomas Gleixner , Radhey Shyam Pandey X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200127_155446_124725_7AFA1CA1 X-CRM114-Status: GOOD ( 10.20 ) X-Spam-Score: -7.7 (-------) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-7.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:54a listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 DKIMWL_WL_MED DKIMwl.org - Medium sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: heidifahim@google.com, Greg Kroah-Hartman , Brendan Higgins , linux-kernel@vger.kernel.org, linux-um@lists.infradead.org, davidgow@google.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Currently CONFIG_XILINX_AXI_EMAC=y implicitly depends on CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get the following build error: /usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe': drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1680: undefined reference to `devm_ioremap_resource' /usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1779: undefined reference to `devm_ioremap_resource' /usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1789: undefined reference to `devm_ioremap_resource' Fix the build error by adding the unspecified dependency. Signed-off-by: Brendan Higgins --- drivers/net/ethernet/xilinx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/xilinx/Kconfig b/drivers/net/ethernet/xilinx/Kconfig index 6304ebd8b5c69..b1a285e693756 100644 --- a/drivers/net/ethernet/xilinx/Kconfig +++ b/drivers/net/ethernet/xilinx/Kconfig @@ -25,6 +25,7 @@ config XILINX_EMACLITE config XILINX_AXI_EMAC tristate "Xilinx 10/100/1000 AXI Ethernet support" + depends on HAS_IOMEM select PHYLINK ---help--- This driver supports the 10/100/1000 Ethernet from Xilinx for the