Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp317508ybe; Tue, 3 Sep 2019 23:34:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaFa8oy76IRwTTNH4ZKJotThFdHytOMd68KeI5ef+No66Mt0ZfDZkT2hBGG1FV1ECqy3Di X-Received: by 2002:a17:90a:bf01:: with SMTP id c1mr3408668pjs.30.1567578846786; Tue, 03 Sep 2019 23:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567578846; cv=none; d=google.com; s=arc-20160816; b=niv8w8vCz+t7PH/HHEfiX84lFB9WDVliJZyd+SfLpcJ2djyNZEwAHyvhFZVIXRX4Fu ixMHPamqrk7aViRm0yJmPuQyJRTZCPb+pioW6KWe4AFLMCSTCievFIknqPLg1U5J9dic 4O/NJ6MO2LoddWrFHM78is9qGU64ioX3zpeV2v5f/gSJ5igPs/jPa+lCPkc1TZmUGpqV b+ZzWoPbHanMM/PrDJJRXG7SCHZUtrMv9bLyp16W7U4uhVWspBH6PK/28LzIijn4iq+1 uGpXjwiKywOLgOtegcbmsc2qj/lum5DUc6TvbV0jKnNiW9QLklv/Q/PnkJLg9nau6JmA AyiA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=pX/GIsxIbo847f+9FXL/2KTOJZD24+9rFmb5WYj6XnM=; b=UnZz5NNrHsd57wNlZI1ZOY3qBe5cHpcVuLDfE7ytD6frqNOruAzoKlVcoOzTIeVSiP SW1JL+rp9EdsjqLFK8Kds+uhgSdWa4Lf+gbzKoN+xZxqftYqwo6VZREXLc2Pbo6BeonM eDH0BlJZ6F1ur9MpRSImLxmsVcfOjaxglzLMWL1z7fmCf1vdeXVUo5UAhcp7owAqyvt4 8MU9cBNZmLbsZY4UH0z+ikvaqr6VqgbbaEi2CpZB46qBO23CjiH2ata3aP9UA7J7d+KJ FsITc1ADw+a2yxFsp570M1ah3zYmzaVy6BEIhsdr/rrvp7ehiHK+I/m0ty66w+N2Wamb huqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ehRWcBqW; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si16488942pgj.169.2019.09.03.23.33.50; Tue, 03 Sep 2019 23:34:06 -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=@linaro.org header.s=google header.b=ehRWcBqW; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727881AbfIDGc5 (ORCPT + 99 others); Wed, 4 Sep 2019 02:32:57 -0400 Received: from mail-ua1-f67.google.com ([209.85.222.67]:46346 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725840AbfIDGc4 (ORCPT ); Wed, 4 Sep 2019 02:32:56 -0400 Received: by mail-ua1-f67.google.com with SMTP id k12so2356851uan.13 for ; Tue, 03 Sep 2019 23:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pX/GIsxIbo847f+9FXL/2KTOJZD24+9rFmb5WYj6XnM=; b=ehRWcBqW/GnnrlLMZcxZ1viX7IZQO1jEB4mYsM9rvT1aBiuak1bsc24ghhQdY1flE3 vPA2jiJUTn1TxryfeBlRjQ3Zwbs1C3Dunqzz4HZkyEiMl97AvEVyCVEaWjU6YE7yaZKk QFgRRsxbYODVVkXzkzv884LEQiuC6CBl0EzykoH6XDI3YiF6P/FItLJb/RwWZ3WBjEm+ xgLWF+y9fqqIfJu3KwOf92/Px/4TcUs8f/18B1U+7F+oX/+glyXDhD/ZyW6QeKN+5uAF 8okc6Lt6HMfjAbzd6/HPu9e0mzp/NiTRYkXmdgRsh9M2sq8qaAnaSsbXJHXkYvE0oeO/ u+iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pX/GIsxIbo847f+9FXL/2KTOJZD24+9rFmb5WYj6XnM=; b=oNNU+4JpXBDVWgJR5qTaagm7vF+tfMmgzgVum2nRupLddK2GWfxxaSiZEFU3GGRXh1 4SoLiUOFcMvv9DpRyhcAiIAJpxdf95IUAuh1MUZFhS7TX2fGPMRQwcgQeExzRZP1bzTn Sf+G96F+2MysyrINyoaiAGJdKMQ9GhB7d5bsTaTqQm2Mgum4baAM2TH3CXLp0cGfMKat XRjtiaT8nxQM1kMQrJ7VxWSRuf4H45ziuirZX1w7X9RE6WiINTnAGn9JGlMMsIUf0ePr BYqPGWK6192T9XqNSpF/p1uK68TGUqE+tzEqTuWpC1ELDqQdW0JfPmLfY3gRDbMY98eo oZOQ== X-Gm-Message-State: APjAAAWvx2P8acuukJu2n1bfqbC77zL3yludzfFl/e2BJ7VYaLj0qYE6 s5ce+AE4r+T4Qb2OO36Gj6+NRXDSMxU0xz/c0CqCAQ== X-Received: by 2002:ab0:6601:: with SMTP id r1mr5047079uam.100.1567578775596; Tue, 03 Sep 2019 23:32:55 -0700 (PDT) MIME-Version: 1.0 References: <20190904022120.4174-1-andrew@aj.id.au> In-Reply-To: <20190904022120.4174-1-andrew@aj.id.au> From: Ulf Hansson Date: Wed, 4 Sep 2019 08:32:18 +0200 Message-ID: Subject: Re: [PATCH v3] mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS To: Andrew Jeffery Cc: "linux-mmc@vger.kernel.org" , Adrian Hunter , Joel Stanley , OpenBMC Maillist , Linux ARM , linux-aspeed , Linux Kernel Mailing List , kbuild test robot 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 Wed, 4 Sep 2019 at 04:20, Andrew Jeffery wrote: > > Resolves the following build error reported by the 0-day bot: > > ERROR: "of_platform_device_create" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined! > > SPARC does not set CONFIG_OF_ADDRESS so the symbol is missing. Depend on > CONFIG_OF_ADDRESS to ensure the driver is only built for supported > configurations. > > Fixes: 2d28dbe042f4 ("mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller") > Reported-by: kbuild test robot > Signed-off-by: Andrew Jeffery Applied for next, thanks! Kind regards Uffe > --- > v2 was a series of 4 patches, three of which were applied leaving this build > fix to be reworked. The v2 series can be found here: > > https://patchwork.ozlabs.org/cover/1156457/ > > drivers/mmc/host/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig > index 0f8a230de2f3..3a52f5703286 100644 > --- a/drivers/mmc/host/Kconfig > +++ b/drivers/mmc/host/Kconfig > @@ -157,7 +157,7 @@ config MMC_SDHCI_OF_ARASAN > config MMC_SDHCI_OF_ASPEED > tristate "SDHCI OF support for the ASPEED SDHCI controller" > depends on MMC_SDHCI_PLTFM > - depends on OF > + depends on OF && OF_ADDRESS > help > This selects the ASPEED Secure Digital Host Controller Interface. > > -- > 2.20.1 >