Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp915313rwi; Thu, 20 Oct 2022 06:45:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7tz9ujbef5T6G+wPcPZgkuFkwEt3LmcTqd2AkML4O1djR5pC0iKqKdDzlqiSJt52Kbqdl5 X-Received: by 2002:aa7:d458:0:b0:45b:ddbf:39fa with SMTP id q24-20020aa7d458000000b0045bddbf39famr12477937edr.335.1666273518820; Thu, 20 Oct 2022 06:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666273518; cv=none; d=google.com; s=arc-20160816; b=YLbtbVUgL2FHND3r/jlbgD19h5zkPL5CGAQ3gsadnQot6OQCX9qgA2o6VfS4XHkN+n EC6lXsvU6s+YOih56TuVJXMoUaqoPEVs7ThsVl+7ZvDRheAzmaS4Hc1IFSl8nwBiM5pi KacjEJzfkEe4SyMiFpGHkRLjBLtEvtha67F59pwKVHUh9kco03uwDJskUVw6sDMwvdGi 6ywyVPnHnxljt7q/aX4ziPr3AI+PnUOKO+OgtVM3rwpRGrdNxeeoJsmQcGtB4X6tFd5z H5ajLkND5IeyxpUTNE5wH5r36/o/by/AaEQp17KU8ZDiQ8vxN7OsbUbZJZ+k912fdTTS JZJQ== 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=DsXsFIYvDAodNYz1Nmy2Vi1Se+P9Lqr7f28wYKZlDiY=; b=p+tzr0lK4T6wNNY5lbSdrax+wo5EHoOztuLRoMyPUb6k0Qm54SnhRZwEOPKU1NY2Wu N/rn0Eqp1hXY8O/ZuuSy8iE6SmVvBS/XoTgUHS2T07TxathHnbfsDErQ4yr6l/4JeFxn uWGZJ+vDaZeYZtPfCY0aTFrOcW3Dx/Nj+DZ3JY00Ovhf6GsG/O9ld//yOtD7+qspRCuV W3ojaWhmmrgqp9tzakrDt0Bl0EfuXTDuOy8BMgf0Ehde3fMIazHKN+tKv1P+jxNyAcSP CN4qA4szHsSVI/ctzjWlFcdmJ5NPCS5QQwexsQl6x6jG++/DzvRaBQeZdCWpGJcBknM7 OO6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lSihJaVh; 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 m12-20020a056402430c00b00458ebd62c70si18241302edc.32.2022.10.20.06.44.51; Thu, 20 Oct 2022 06:45: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=@gmail.com header.s=20210112 header.b=lSihJaVh; 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 S230509AbiJTNQZ (ORCPT + 99 others); Thu, 20 Oct 2022 09:16:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbiJTNQV (ORCPT ); Thu, 20 Oct 2022 09:16:21 -0400 Received: from mail-ot1-x335.google.com (mail-ot1-x335.google.com [IPv6:2607:f8b0:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D57461AFAB7 for ; Thu, 20 Oct 2022 06:16:04 -0700 (PDT) Received: by mail-ot1-x335.google.com with SMTP id cy15-20020a056830698f00b0065c530585afso11366747otb.2 for ; Thu, 20 Oct 2022 06:16:04 -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=DsXsFIYvDAodNYz1Nmy2Vi1Se+P9Lqr7f28wYKZlDiY=; b=lSihJaVhGaXXm3ksHFi4XF5VCkViNanV/8bL/Bs++PXHQEbGsfv+rELLlTNr8aRmbg HaP8NWHwNzxVyhPma74QoZk5yy23QJ95JrRropTyptHwUXs3Qot7RmYT53oegQwFDnJU Uh9Tjquo7WlN0mbi41L00eftSPkGf1UGo1aBZHgdZfsXoe0QV1ZbW5JxPPgzh7H+BmNO 6AIUC7ZidonTB/mFxlYQ+AR2BW8jW7hvHXWmwzV6dIPCyml1lxT56kvAWJqYTaFyMTQo p5IfARYl/dHeFOIgdFdc2R8wRVbWKX6aPQ4ybbxiyQHuASoAO2EnrwWE6SklqtZAGjBA vtAw== 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=DsXsFIYvDAodNYz1Nmy2Vi1Se+P9Lqr7f28wYKZlDiY=; b=GX37JcMzHP3k0fyxpipy1gbZu7slk6z9iwlYrdCx7ZoLsNC2IfYoTcklKxYxsOLXKg BsJjI7Ln2KBqf1jFVURX2qnQ1hbYLLk0ybjnjQvkvV638wKGQnb4I4PQ/zjb0ydxBzQX iHsbFPcohKVVs9curOm7wcADyUkTBKh0iQrkZOLz6Opo3Fn+eqYnICb8Qe+6v0jb+Bgt qF5HlJaI3fEMUfXwetLZ90J/+cIV3VbSO+iAYeROI4RwVnl9CNHJNb8z1OmHVO5eGMPl 5UvNxuJHf82oGGZyMbB2FOdNEdegBgQC7c7xeuk00SrAQFxDbsSgdGkJuTdnCKFGqYGc iPrA== X-Gm-Message-State: ACrzQf25vavLZGqewae39ZDCy/144VOqY2V2CQTEun5glAMzFM+9erR7 NJ92X57M7yRp7a/XdckaoaK9NdfrL+AK5PV1D+I= X-Received: by 2002:a9d:6645:0:b0:661:b778:41b8 with SMTP id q5-20020a9d6645000000b00661b77841b8mr6970619otm.233.1666271568082; Thu, 20 Oct 2022 06:12:48 -0700 (PDT) MIME-Version: 1.0 References: <20221019062347.3756071-1-ruanjinjie@huawei.com> <8eb93fb6-a1c4-5ef4-f549-8649bb36e59a@amd.com> In-Reply-To: <8eb93fb6-a1c4-5ef4-f549-8649bb36e59a@amd.com> From: Alex Deucher Date: Thu, 20 Oct 2022 09:12:36 -0400 Message-ID: Subject: Re: [PATCH -next] drm/amd/display: make dcn32_mpc_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, hanyihao@vivo.com, aurabindo.pillai@amd.com, Martin.Leung@amd.com, 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:28 AM Harry Wentland wrote: > > On 2022-10-19 02:23, 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_mpc.c:985:24: warning: > > symbol 'dcn32_mpc_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_mpc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c > > index 4edd0655965b..206a5ddbaf6d 100644 > > --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c > > +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mpc.c > > @@ -982,7 +982,7 @@ static bool mpc32_program_3dlut( > > return true; > > } > > > > -const struct mpc_funcs dcn32_mpc_funcs = { > > +static const struct mpc_funcs dcn32_mpc_funcs = { > > .read_mpcc_state = mpc1_read_mpcc_state, > > .insert_plane = mpc1_insert_plane, > > .remove_mpcc = mpc1_remove_mpcc, >