From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: [PATCH] net: gemini: Depend on HAS_IOMEM Date: Sun, 21 Jan 2018 14:15:41 +0100 Message-ID: <20180121131541.4337-1-linus.walleij@linaro.org> Cc: Janos Laube , Paulius Zaleckas , linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Linus Walleij To: netdev@vger.kernel.org, "David S . Miller" , =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Return-path: Received: from mail-lf0-f66.google.com ([209.85.215.66]:37705 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750748AbeAUNRu (ORCPT ); Sun, 21 Jan 2018 08:17:50 -0500 Received: by mail-lf0-f66.google.com with SMTP id f3so7353583lfe.4 for ; Sun, 21 Jan 2018 05:17:49 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: The zeroday builder notices that since Usermode Linux does not have IO memory, the build fails for them when selecting everything it can enable. As the driver is clearly using memory-mapped registers to access the network adapter, we add depends on HAS_IOMEM to solve this problem. Reported-by: kbuild test robot Signed-off-by: Linus Walleij --- drivers/net/ethernet/cortina/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/cortina/Kconfig b/drivers/net/ethernet/cortina/Kconfig index 0df743ea51f1..89bc4579724d 100644 --- a/drivers/net/ethernet/cortina/Kconfig +++ b/drivers/net/ethernet/cortina/Kconfig @@ -14,6 +14,7 @@ if NET_VENDOR_CORTINA config GEMINI_ETHERNET tristate "Gemini Gigabit Ethernet support" depends on OF + depends on HAS_IOMEM select PHYLIB select CRC32 ---help--- -- 2.14.3