Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73A94C433ED for ; Tue, 11 May 2021 16:41:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4031361182 for ; Tue, 11 May 2021 16:41:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231703AbhEKQmu (ORCPT ); Tue, 11 May 2021 12:42:50 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:57795 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231764AbhEKQmt (ORCPT ); Tue, 11 May 2021 12:42:49 -0400 Received: from mail-ua1-f71.google.com ([209.85.222.71]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lgVS2-0004uj-G3 for linux-tegra@vger.kernel.org; Tue, 11 May 2021 16:41:42 +0000 Received: by mail-ua1-f71.google.com with SMTP id h1-20020ab02a810000b02901f5ea248613so2509980uar.3 for ; Tue, 11 May 2021 09:41:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=alnNJ8eTIAKjnyjv7sFy0NrcXIfxDIzBImh7xvBaNx4=; b=WntvwlVK25fVLWagnwgw8J8xnExk0f0D2qDYYg7ZTGzqp9vV9E3zLm2T3+X7Y+G8a/ bC4IRfh7rtFkBjyIKHZTZzQy5S3iYz6hZgjGVfAYThw+SiYfDxLIrWQySsGNE755Z8PE Ls1wGg6rPRifLiMTdMao/EjZPRNK8k4cXLCE5RyXT7rDe/u1SkYFkUhKm8lHAufFWNFM paB84i4iL1UP86iXWMjUzBurjhuoVcdkKhcQv9iGLdYbxL48xB5F7eqlRnM7R6WyYH6i f1LXpLGn94nhYP2aIeOH0uSB+nldNoxeifz/+8eFj0RPSujcagW0uGQu+kUf/2FrOCta Fclw== X-Gm-Message-State: AOAM530kLaE5tT7rtgFVSNTPt7yrshCEkkIQenab4RyGS8GGF+WsWOng kfM6lk4u+Ge01zAihZjn7T38FQc0sQEyZhkG0MlEBDh4RVYTMgB4kSOcveqaNZANUzZ5rUGFja+ VobHJTmN3FQIY87lN8qk8+x5xaJcfvgFR84lhSYiH X-Received: by 2002:a67:cc2:: with SMTP id 185mr26956871vsm.0.1620751301355; Tue, 11 May 2021 09:41:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyomdb1bhDBL2AaXVV3yxPtwgBghGFRDYkkSZwWfK0Zfh4v60wP0v79x/KYYwcRaDElKcuP4A== X-Received: by 2002:a67:cc2:: with SMTP id 185mr26956838vsm.0.1620751301136; Tue, 11 May 2021 09:41:41 -0700 (PDT) Received: from [192.168.1.4] ([45.237.48.2]) by smtp.gmail.com with ESMTPSA id 61sm2296538uaa.17.2021.05.11.09.41.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 May 2021 09:41:40 -0700 (PDT) Subject: Re: [PATCH v1 2/2] memory: tegra: Enable compile testing for all drivers To: Dmitry Osipenko , Thierry Reding , Jonathan Hunter Cc: linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org References: <20210510213729.7095-1-digetx@gmail.com> <20210510213729.7095-3-digetx@gmail.com> From: Krzysztof Kozlowski Message-ID: <54acffad-97c0-56cd-46ba-5ceba454ec09@canonical.com> Date: Tue, 11 May 2021 12:41:32 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210510213729.7095-3-digetx@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On 10/05/2021 17:37, Dmitry Osipenko wrote: > Enable compile testing for all Tegra memory drivers. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/Kconfig | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/memory/tegra/Kconfig b/drivers/memory/tegra/Kconfig > index a70967a56e52..a910f661105f 100644 > --- a/drivers/memory/tegra/Kconfig > +++ b/drivers/memory/tegra/Kconfig > @@ -2,7 +2,7 @@ > config TEGRA_MC > bool "NVIDIA Tegra Memory Controller support" > default y > - depends on ARCH_TEGRA > + depends on (ARCH_TEGRA || COMPILE_TEST) No need for (). > select INTERCONNECT > help > This driver supports the Memory Controller (MC) hardware found on > @@ -11,7 +11,7 @@ config TEGRA_MC > config TEGRA20_EMC > tristate "NVIDIA Tegra20 External Memory Controller driver" > default y > - depends on TEGRA_MC && ARCH_TEGRA_2x_SOC > + depends on TEGRA_MC && (ARCH_TEGRA_2x_SOC || COMPILE_TEST) There is a lot of "depends on TEGRA_MC". How about making it a "if TEGRA_MC" block? Best regards, Krzysztof