Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3088792rwb; Mon, 15 Aug 2022 17:51:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Zv9sfXDFIJKutIlkTa8dws/4gX7rv2iI3ys8VEQGj883phhXIv02/AiNn7UcqeKlkfK0u X-Received: by 2002:a17:907:3f94:b0:731:6473:b36c with SMTP id hr20-20020a1709073f9400b007316473b36cmr12224514ejc.525.1660611077595; Mon, 15 Aug 2022 17:51:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611077; cv=none; d=google.com; s=arc-20160816; b=kUve0i3PWL73wQF9IvY+WZD1C6qpT8+JEr/mvVeqdGeVgqU5M17E4Vh68tPZo3yQ1G fnHOvqBL/bF6pxao4VogBQLq1fsCE4qdegI3sQByNpZYtUzpzi6iYKtz2pa7jdi9nbIg wiuWxKSOsiBBUVczexy0EweGQta1K8IgVAyvjg4JGsWhLYsnsQUP6+U61aqOxqDkNRSS U1AVUEWAQloWN3FxDusGI83/7NQMjgo9oPmM4lypoCtEayN0dHpYFi2Njq+gFy9mvAg/ O/wPkYlC8B97z0EsUZzVMVqpweFFXKXKLJ1BSIVSLWoLP7wUeUITS16n6L5GcbgNXUuC nePQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=f+lJDJ9pqPMyGf90e4FnuYWaYIO1igsn3l74kIpws1k=; b=kykz+PJuY2MzWCeFYPol67m3HqSyNnvRTqbXTD6VVlGamuI6soj80LgKy8fwJwyAaP DBgknx+8Fabr6ZyscJg6xIUm/bFCebGjClb5Qtgjlg3oaSKkkIuD9HomX9N4U1vv7ooz sNghs2f8pA3h4wMAglGimKHUu3ZUrsAqgFTEmfvPf0EepTH6SMSkW3z0ePtNPWhoSXio OBqnWhtdDyb5lmXAqfJZlPk7nEHygsqZfHnzTMlauvZMH+GPrJ/ISOh/RYrfhP7EluJU GQ7AykNDmRzyx5RAZrWwEPI+G/e2IXdkjeMdW9lxknKs+mOtG/L+q7hBqanZhdGNkl7v dhhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ROVPfTnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6-20020a056402240600b0043bbd1cac73si8509191eda.320.2022.08.15.17.50.51; Mon, 15 Aug 2022 17:51:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ROVPfTnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353979AbiHOXk1 (ORCPT + 99 others); Mon, 15 Aug 2022 19:40:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353984AbiHOXhH (ORCPT ); Mon, 15 Aug 2022 19:37:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCE2A48CAF; Mon, 15 Aug 2022 13:09:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 56A8860DEC; Mon, 15 Aug 2022 20:09:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41DBDC433D7; Mon, 15 Aug 2022 20:09:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594182; bh=jfJOzOwEKofhwCRjoQbs2HejMpK/kXhAVnPCBQ7kH4Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ROVPfTnKivbh8TJPvH8TN/AtCFmb65bwF2Q7rAoL2RDSe5se0wnjPG+/rcAcKjjHd 0nvL4vYlOmnxEU0BeXtD1tms0id1fSPpk0J++srVVGZQmGhCel9ipQd989DdPDLER6 2jbJ/BImbYpAPZss+s//BeRHjAAWsDwmutkj5Bas= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing , Dmitry Baryshkov , Abhinav Kumar , Linus Walleij , Sasha Levin Subject: [PATCH 5.19 0391/1157] drm/display: Fix build error without CONFIG_OF Date: Mon, 15 Aug 2022 19:55:47 +0200 Message-Id: <20220815180455.330366372@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing [ Upstream commit 876271118aa41097d035c84f99648746b4a125f3 ] While CONFIG_OF is n but COMPILE_TEST is y, we got this: WARNING: unmet direct dependencies detected for DRM_DP_AUX_BUS Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && OF [=n] Selected by [y]: - DRM_MSM [=y] && HAS_IOMEM [=y] && DRM [=y] && (ARCH_QCOM || SOC_IMX5 || COMPILE_TEST [=y]) && COMMON_CLK [=y] && IOMMU_SUPPORT [=y] && (QCOM_OCMEM [=n] || QCOM_OCMEM [=n]=n) && (QCOM_LLCC [=y] || QCOM_LLCC [=y]=n) && (QCOM_COMMAND_DB [=n] || QCOM_COMMAND_DB [=n]=n) Make DRM_DP_AUX_BUS depends on OF || COMPILE_TEST to fix this warning. Fixes: 1e0f66420b13 ("drm/display: Introduce a DRM display-helper module") Signed-off-by: YueHaibing Reviewed-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar Acked-by: Linus Walleij Signed-off-by: Linus Walleij Link: https://patchwork.freedesktop.org/patch/msgid/20220611041612.1976-1-yuehaibing@huawei.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/display/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/display/Kconfig b/drivers/gpu/drm/display/Kconfig index 1b6e6af37546..09712b88a5b8 100644 --- a/drivers/gpu/drm/display/Kconfig +++ b/drivers/gpu/drm/display/Kconfig @@ -3,7 +3,7 @@ config DRM_DP_AUX_BUS tristate depends on DRM - depends on OF + depends on OF || COMPILE_TEST config DRM_DISPLAY_HELPER tristate -- 2.35.1