Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp918333rwi; Thu, 20 Oct 2022 06:47:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ycWSjYhzkdNocEhyTTV6WM9orvmHmwzGh4i/sWgo9jRxuk4TE60vnSvASqP/r7S/QLR2j X-Received: by 2002:a05:6402:26d2:b0:45d:280b:5878 with SMTP id x18-20020a05640226d200b0045d280b5878mr12464389edd.385.1666273641052; Thu, 20 Oct 2022 06:47:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666273641; cv=none; d=google.com; s=arc-20160816; b=K5gybo8IhnzTMc0qnh7m4C0wk0TxLXEFe6sVL5cURbnwMfNcCKtepAGnhI2gp8oJbK 50BOOQbPUfQWs7bboLKNXcYKiIrcK1sbRUoOKGMvBhzRW4ZuP86EaHttI+qPwpKNUw+Z 0QUMNzGElL0mvkvt1XzhjXixTZ9QB12awJmdojughnlcFa1uyfqXsTm+9Gj9u8fYMzfm 0zojQ0KqUvtdvlF+rR7Ex0tmEDQdPxHpiwIDPB6EcaE/i+5LCOwAr41nF8KomlEN9y2T MVFn6Qs2enqovlfzUZ7EzqGQjr72OLMd9AyVx9WuKB+WmadXhCF7vgmNOu14QV2o0fg4 AXeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=u0+uDTLiSxgXk5TNHxXL03uQzfakDOtS8Qg9Ra2ST6U=; b=Elmwy99z+D4LAMb2BHJbRmsDbCclPFUVJC0/SRzBl77vbrJwwoYnVqL+lDYcx7OYHJ rrhAqHe9k2OMygpmzt5CiY+IaPyhXmavko9zq5S00jXxAi9Tj6qcY5UFMychBLKIHoAj qNiAxtBz3a1rXeniYGu2SP+ji2UbEQf2wc1auo7qhWmeTDFhPF9cxupL4z21Lj6tDawT ucaH/ahRFpLtQ0YchEUL65LPDFlS7nhe6yhriuMuaI5bwFbAwp+1rt7JKt5FGYrjRb1x uow07zLttvPEGR8yHMPC7fFz57rTNGOGiPXsa6PuS32de1yNZcCMELHzg1ZJN85uz6c2 zmDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bIHISWEu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020a170906370b00b007818378f560si13034392ejc.383.2022.10.20.06.46.55; Thu, 20 Oct 2022 06:47:21 -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=@gmail.com header.s=20210112 header.b=bIHISWEu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230474AbiJTNOk (ORCPT + 99 others); Thu, 20 Oct 2022 09:14:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230471AbiJTNOf (ORCPT ); Thu, 20 Oct 2022 09:14:35 -0400 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18C561FF93 for ; Thu, 20 Oct 2022 06:14:01 -0700 (PDT) Received: by mail-ot1-x333.google.com with SMTP id t4-20020a9d7f84000000b00661c3d864f9so11366086otp.10 for ; Thu, 20 Oct 2022 06:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u0+uDTLiSxgXk5TNHxXL03uQzfakDOtS8Qg9Ra2ST6U=; b=bIHISWEu+A1kb4nsc5ajKrDMtLpPAo/s4FYHDz95KD8eeK1s4R8ES/qAXqx05A8Xwh PhGN3980e9ybQtn8YsabSGIkUnaePSfiMS09+WT4rxBGMtjDH29j0mKT3/aIie156yN9 Wc3htvRPUI97m3x5HhiSZrJA4Ch2aBqUY/BVO27eKUWSTqkyxiMKvbn/JjXHCPaFxtWc Hv3ntlc8EKRbb2Yn8ULdtpdlHU9ZmF08DOSZbBr02QH+k42U6cfu9G3cyZk/p1qbIWD8 1272n1itRVgwXnayL1g9XPJw0L+Prv0GaoCcZRR5vjLssAyeDQrgmBbtlp7TNvGNmhJX 9seA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u0+uDTLiSxgXk5TNHxXL03uQzfakDOtS8Qg9Ra2ST6U=; b=HMTyWEY/Tae44DKI7C2OypZW7+WsdL5DyCG2ZLrYrfYMPjL6NDZd3cXDewy/UPzGt3 1ATCcYDex/RGu8cYFe/kpEVvKpg4iNnYcXpR6qbGXAZK/rAhdGDD1/MY1Ukv/LlCxWEM hekAhuhF6Ih2E0o286AvRS+Z6HYEiCPqfhBtZ5PKGvd5WbIAgR3cPq3zJHq2tjlw+tCu PnHfshIsvfs40bfKLKil9r9E/H+F7CgHIkXT0wbYTB+z6xEmc2eLQU/G00Ztl41girg8 aSUn4Lb35mtmpoIbmEK0HKDJ1PI+VQpHx8S2EY8SqquQaw2dthTMxzKgemJvTZZloffK gyLw== X-Gm-Message-State: ACrzQf34AezcqsNObdThVAOWxHN2NBkpnw2K6zj2rDkFNDpGwfYV8s6l B4hMIxtjPrtVThVI8rLg7U1rBxtOPkTm4FgTtTA= X-Received: by 2002:a9d:6645:0:b0:661:b778:41b8 with SMTP id q5-20020a9d6645000000b00661b77841b8mr6967997otm.233.1666271510132; Thu, 20 Oct 2022 06:11:50 -0700 (PDT) MIME-Version: 1.0 References: <20221019063115.3757510-1-ruanjinjie@huawei.com> In-Reply-To: From: Alex Deucher Date: Thu, 20 Oct 2022 09:11:38 -0400 Message-ID: Subject: Re: [PATCH -next] drm/amd/display: make dcn32_mmhubbub_funcs static To: Harry Wentland Cc: ruanjinjie , sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, jiapeng.chong@linux.alibaba.com, aurabindo.pillai@amd.com, isabbasso@riseup.net, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Applied. Thanks! Alex On Wed, Oct 19, 2022 at 9:27 AM Harry Wentland wrote: > > > > On 2022-10-19 02:31, ruanjinjie wrote: > > The symbol is not used outside of the file, so mark it static. > > > > Fixes the following warning: > > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mmhubbub.c:214:28: > > warning: symbol 'dcn32_mmhubbub_funcs' was > > not declared. Should it be static? > > > > Signed-off-by: ruanjinjie > > Reviewed-by: Harry Wentland > > Harry > > > --- > > drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c > > index 41b0baf8e183..c3b089ba511a 100644 > > --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c > > +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c > > @@ -211,7 +211,7 @@ static void mmhubbub32_config_mcif_arb(struct mcif_wb *mcif_wb, > > REG_UPDATE(MCIF_WB_ARBITRATION_CONTROL, MCIF_WB_CLIENT_ARBITRATION_SLICE, params->arbitration_slice); > > } > > > > -const struct mcif_wb_funcs dcn32_mmhubbub_funcs = { > > +static const struct mcif_wb_funcs dcn32_mmhubbub_funcs = { > > .warmup_mcif = mmhubbub32_warmup_mcif, > > .enable_mcif = mmhubbub2_enable_mcif, > > .disable_mcif = mmhubbub2_disable_mcif, >