From patchwork Sun Jan 21 13:15:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 125283 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp687299ljf; Sun, 21 Jan 2018 05:18:03 -0800 (PST) X-Google-Smtp-Source: AH8x224lXGflkScw341ocKKaBmzKf8/cnLhIAYkE+PmK2BsQZq21HzuW4GOKiGZYcVx/uwPQiRiX X-Received: by 10.99.186.18 with SMTP id k18mr4423245pgf.7.1516540682978; Sun, 21 Jan 2018 05:18:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516540682; cv=none; d=google.com; s=arc-20160816; b=rCZtEhZoKFoJx0C1vL02KwtQZocYhpIGKIIvucFcP/KIG7cGA3mf6xIUPVJIhOa81q seYMJlJyJ6LHLihDnw+OFV1BHu+Xalovh7dWEDRdKyBOfbbDnc4F34txhGX+bPt0RQ+u OYQGYWGs9f1fZlv1hPm8pLlIGXIr/ntrXC7iwE/WIQF3ZcIx21zmsP9VNIPwwirhIrSS Yf+OxEVoDyBAMQtQmN9sP8ERy7ZlAkp23qASqFwyvFWis5mzZwJ7kkB82XSwpPPSI56W keo6oeaVe/xizj4DyHGJZ31mTmTov0ewv6cHT1X+JVX1gsSi/DAwLEjlnVpmjs11PCLt ZYIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=nm4iY9g5sdaMlAGD/o/VV/LqB8vgLpJ3cswPQYBCfd8=; b=FF/7nmj44WDxDd2uEgiRWWKWi8OmmeY6F98qwUYM095td/WPUvOgy0hVe91btijgLd 7/NvsWH38fbHZH3sUlm/Fh2gDKmM90e/5bhd0YBqEoB24lKYdnbVbwEQKinHgrFELtt9 RAEy8fI/fkMAItE/9vvLZdBG59lgbCC93QqMXjAi/01DCj0QbmXfYioIUKyR8e4QohRr 7abAQ/mFPKQc2gyfGZKefn9ED2iC94O2vzg4yMtXXCyrVXTPtYGsvHVaxa62dzbt8ts6 EcfzmFbx2tNfsQjTWysaDFoAgtnjEqVrlyHc5kGvT+nuSawxcFe5HFI1weVrM+ihmYuK tGFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CX33vKg2; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e68si12629676pfa.298.2018.01.21.05.18.02; Sun, 21 Jan 2018 05:18:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of netdev-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=@linaro.org header.s=google header.b=CX33vKg2; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750928AbeAUNRv (ORCPT + 7 others); Sun, 21 Jan 2018 08:17:51 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=nm4iY9g5sdaMlAGD/o/VV/LqB8vgLpJ3cswPQYBCfd8=; b=CX33vKg2Mez5qg2Tt/uKnSwRkUpM4ruYvIlqDs9hCGLJqgBoVTpgtbhnyHOoRLhNuQ pFlwSPMYpVnK4hmVjuXV9kXmVLIQmnvZFoDeMmxS9MbodFaWKav8ByDaftOjPBKVPXaH DXK4mGaCYKgMrLDRrWXYizJeVHeDNUStZfiis= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nm4iY9g5sdaMlAGD/o/VV/LqB8vgLpJ3cswPQYBCfd8=; b=SrtYKp/hfr27uMdwQNLxiLvXS5R9lH82z2id89e8biktgd/D+dNyv+VTfmc9uVf+aH kZAp5qhl51+VQb7lL3+fRy6CAtuMfV421EWaxWgG3RfInP+FEt5RLZc98V4OLVnIRLFl GucI2kNERgfYg2xL7OlZK8AQ4Uhvy50I7iUsY/c6lUucSfoQNRJQQqQe6ZJlDQP8R92c UU444VyGCJkMk5binSt0XeGtGk6UCqsSRY9ZNkojIjA79V+6DXq7IzgexTyzAX00dkU4 zGHV2XsSdDPV5g1YgNQMjCp99QG8ejUd8IFOrjW6ftYhQflSUzlOHx6FUWc3vrmf5Ppf qhIA== X-Gm-Message-State: AKwxytcnTmvQ309Cs+PhTn5qXFaPEh+Kl0ChLCVw0x57WCqsgG7K+Si3 9OuG+F0QTNcQbhKgcKiI3hsTOjuSjSA= X-Received: by 10.46.93.79 with SMTP id r76mr1966431ljb.70.1516540668557; Sun, 21 Jan 2018 05:17:48 -0800 (PST) Received: from localhost.localdomain (c-cb7471d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.116.203]) by smtp.gmail.com with ESMTPSA id 81sm523813lje.38.2018.01.21.05.17.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 21 Jan 2018 05:17:47 -0800 (PST) From: Linus Walleij To: netdev@vger.kernel.org, "David S . Miller" , =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= Cc: Janos Laube , Paulius Zaleckas , linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , 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> X-Mailer: git-send-email 2.14.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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(+) -- 2.14.3 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---