Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp931716ioo; Thu, 26 May 2022 19:33:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoktb9PnZuFhZggeHBpQMVF27OeZw4kPhQelrf+APeBq29noOSAYhrSG9fRfWRb8p0sFar X-Received: by 2002:a17:907:3e04:b0:6f5:1132:59de with SMTP id hp4-20020a1709073e0400b006f5113259demr37952063ejc.755.1653618798320; Thu, 26 May 2022 19:33:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653618798; cv=none; d=google.com; s=arc-20160816; b=DH2PHLpPn/yEwYU2xE2fB197nGKx0BGCrfBFS8GZ9PN3zElN9xLs8MvUEPn4Kb39f1 HjS5HSjgygDAkIYk9w5e4sxHEa0GC3eNVA8blEKPEoIB85oCZmUQmnTvjUWQM+g1Zz9i cHB1aPoONrbA/kjUYD7f2iTnxB/sxKFcIxcqHu+of/eaD/IrRW77GvOkTAcfiyJ2fnth vU6OxrVWCFFwzhsaPE7zmtgZtvkbwb4RpC4kbIQKFelttZA5lB2R9PNjPXvn4npsxDYD WBsL8B5H9mMfTL9fEc8t8z4sC9OLLYi1o0qt62anGmJO/sJSOA6LmFLOGlbiuynmY3u/ Ytwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0D8beMvITCEnQx8kNlsoiMBAwRlvlYs/p4e3T9UBysk=; b=btUt1VpWfOUCN0hvcdjY6ue836sf8fiDR+f+ApIkG7mH8rbk0+cQ9QSssdK2cbZOD/ RKmSgV+coQwf5NAOaEV2yWXkYGb74n1ceWalp1lyhFtKoK1uvTO9mySyW5jct4qO02qj HRFpWl7gjwuRbPk7tau2HHHnD8+2jOy+/WeTJzuclH6b+75kHBd90XttqjBAl4W9aEPj 4z3y0tQy9WGzu9RPmY/BsGz9p4iC+DCnCqBH7sySPV1U+c9B5jOlU2TrewUBluy0kYgW BTKcOyqX363qJjUmrnzNkYs9Wxc/ZumKFJ3hyz0WJhNxfGtrvKHTiAQETEb6koMFp4uv B9Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OR6Rn0cI; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a508d08000000b00425d43b058csi2946798eds.368.2022.05.26.19.32.51; Thu, 26 May 2022 19:33:18 -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=@linaro.org header.s=google header.b=OR6Rn0cI; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347832AbiEZPCW (ORCPT + 99 others); Thu, 26 May 2022 11:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230463AbiEZPCU (ORCPT ); Thu, 26 May 2022 11:02:20 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D3F95EBE7 for ; Thu, 26 May 2022 08:02:19 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id q1so2054339ljb.5 for ; Thu, 26 May 2022 08:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=0D8beMvITCEnQx8kNlsoiMBAwRlvlYs/p4e3T9UBysk=; b=OR6Rn0cIwMEBUkUXJ1VyIu9n2UbV0stSHvaMzeU1kJ8kDh5lCNQlz1mNu6sD4hHaA0 dsQbVAi+wzj9faH/mKfIHl6OHg8vSDYfvVfGL7nDV0zDbUdYLM/PEvvKA41sSrKUmhNa Bza8cJbKFMFqMb38bLJ9tRAbpyPb+z30Go1M6a3e1PvUVdxAgWCKgkFhExjpjUVXpw9t VJW3ngnXh77cwHNots7cBAFoRGuaHz+/s5GLwa6f/BB8OYwQSJhTy8x5G6KNtJcil68y qHH8/clbfVYNMeGjJ27vJdWGCJBHSA/KAVz1PQB1QZMFNOFrA4XuwtJKrGPqcm0Vj6pp anbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=0D8beMvITCEnQx8kNlsoiMBAwRlvlYs/p4e3T9UBysk=; b=Spql15/k8AJnwx50wGeiS+3hjBsnKTw0LnzVQkyW6s7Vd+d2VqQXzt4z0nAewD/r6W v8F3c/0LjfVJYqoavkBE28mPgTLR2fP7j5RcxQdytu9Q6Eyh4eOOGJ8GYbYtuXvBV56A Nn/ZA4HMz1od8yE0wBAToh1OqcMy09oLv1FlULuCtcWW014zuDzczP9L+N3Uk9FWZ/Ee fKNjdtmyMYU4Dumg1VgQphVoNMTyPEKusAQ9LIeDew+KTFD8Oo1vAmjPFM8psWbgpJsc GaBZ4lKnIPibMGbJfYTlyio5+nrxSvviluCibqtRB2/s2hV6ZQ0KSfiqPd0u7u8JsKpc 3How== X-Gm-Message-State: AOAM5326fkdqhbBetZp83xTkF5Tj47WBFsUVM75/dZN503zEJXdMthFZ groSZqOVNLHwd64EzcJ56a9yGdZ2ihjpog== X-Received: by 2002:a2e:bc2a:0:b0:253:edc9:dc73 with SMTP id b42-20020a2ebc2a000000b00253edc9dc73mr11569641ljf.351.1653577336150; Thu, 26 May 2022 08:02:16 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id e13-20020a05651236cd00b0047255d211d6sm390892lfs.261.2022.05.26.08.02.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 May 2022 08:02:15 -0700 (PDT) Message-ID: <310e5453-9771-eb90-1a67-b04ec695fee0@linaro.org> Date: Thu, 26 May 2022 18:02:13 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2 -next] drm/display: Fix build error without CONFIG_OF Content-Language: en-GB To: Linus Walleij , YueHaibing Cc: airlied@linux.ie, daniel@ffwll.ch, tzimmermann@suse.de, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20220506123246.21788-1-yuehaibing@huawei.com> From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 Hi Linus, Yue, On 23/05/2022 15:54, Linus Walleij wrote: > On Mon, May 23, 2022 at 2:46 PM Linus Walleij wrote: >> On Fri, May 6, 2022 at 2:33 PM YueHaibing wrote: >> >>> 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: f5d01644921b ("drm/msm: select DRM_DP_AUX_BUS for the AUX bus support") >>> Signed-off-by: YueHaibing >> >> Patch applied to the DRM tree. > > Nope, failed: > > $ dim push-branch drm-misc-next > dim: ac890b9eeb9b ("drm/display: Fix build error without CONFIG_OF"): > Fixes: SHA1 in not pointing at an ancestor: > dim: f5d01644921b ("drm/msm: select DRM_DP_AUX_BUS for the AUX bus support") > dim: ERROR: issues in commits detected, aborting After a second thought, I think the patch contains wrong Fixes tag. It should be: Fixes: 1e0f66420b13 ("drm/display: Introduce a DRM display-helper module") With that in place would we be able to merge it through drm-misc? Does it needs to be resubmitted? > > I don't know what to do with this, sorry. The other committers are maybe better > with this kind of situations. I think it is designed to stop me from > shooting myself > in the foot. > > Yours, > Linus Walleij -- With best wishes Dmitry