Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp12139ioo; Wed, 25 May 2022 18:59:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwA/jsuI9k1M3sqn+FS5HlxGamKE6dwdOrkx70OgDKUt2b1w7+i2X+Mnm9+61pHIPEHbnnX X-Received: by 2002:a17:90a:ec03:b0:1e0:d890:f74 with SMTP id l3-20020a17090aec0300b001e0d8900f74mr79207pjy.136.1653530371234; Wed, 25 May 2022 18:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653530371; cv=none; d=google.com; s=arc-20160816; b=0wQPb0pQiZUXFpIb73PlDGoj6yCi46s6IN1bv6zszKOprQlKsx26Jnz7qZeWHfK8Fp Jw4l+71G7gsXl+ovBaAzbEpFMSIfnsPNxMiQZn/XrNA1rqx26N+Wm0UW/w2w1+RbW1ER yLA7NCSIza2hN74xOXS9BEqF64wFfe+dSUsW0OS3FYZX7iXkqq63YIiX9sVIkWZU4bUH 9ASme16dCXqQzp5SlJ3fV3BkHD4DAsDUlss/oN3WaZra9QA/JKmlI5ujLICihb+iKHJT ohFBUT+9yp0DkTQ4aM412FT3ha4eEPkdpkg0USW1SdAuKAVYrBR8fqMlKsyETEs7LF5a sFgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IsIJb2bLdZeT3b6zZvcrkP7qwrS6+3RvK/fXCEbZ8Xk=; b=CuYIcKOc5nGDMiGWHCWk/hbwjWrdgd2nwO1C3oWSZOqMUo3rBscraHExz12r9tGEab PwJfBtj+1MYqNDiU7upb/+B/YWMRbebls8jEFOJouh0UGcV1fXVgKK7FG/jtQLKHkRRC 4oOQcRjadE/0Sp8D9rD2tsk7C1tYA0l3npG2jr2LhwLjQsbLKqs4OU7aHyz4gDALAqf4 TOpXe/16FtQRKCZuV59maqLAgKjr1OcDKFL8sTIwJx7eMen0IbcsegACyJQvfMtYrRut Emst2nQ6njmTxxL+X4p8EngXW+OUJt61NmmxrIpT8b9HbBuMPnviROLTNt6fXXt1wOGt gwUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WwnZnZBc; 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 c10-20020a170902aa4a00b0016198140119si108291plr.606.2022.05.25.18.59.20; Wed, 25 May 2022 18:59:31 -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=WwnZnZBc; 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 S234740AbiEYSkl (ORCPT + 99 others); Wed, 25 May 2022 14:40:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbiEYSkk (ORCPT ); Wed, 25 May 2022 14:40:40 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76A1EB2244 for ; Wed, 25 May 2022 11:40:39 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id k186so5031746oia.2 for ; Wed, 25 May 2022 11:40:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=IsIJb2bLdZeT3b6zZvcrkP7qwrS6+3RvK/fXCEbZ8Xk=; b=WwnZnZBcCw/Lgbs6q/t0HQLejAV7AaY1UZg/u+6/RxLgzg67BuTLQZ3axx9gmYR6gh EUWw/IIDQW01LSaipuTYCHHffE17EyBVVzbvBJIN6RG0sBpV9u2e7T88RJaqZSSPMGRj klBRTnvNVwswNbNoz0SX+tq/g837HmociAbHxhWKE79UFDGZbItqirbvSLYw3U248G8v a7HpRsNN6scZ+lP/gILfmUcsVv29e6C2EEGDuB+IyHPQSEUeIo5qnYOLxTEftZDZAt/v QysHqVm9lbwQS77EFOlAFo1vy1FtB7kl8fj44yqwFDXekSxVeZXIaLIfFiobnefOmphP FayA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=IsIJb2bLdZeT3b6zZvcrkP7qwrS6+3RvK/fXCEbZ8Xk=; b=ykIluE1WhAy/ICzy1I9Jandv6R0F/qII21vMkU2Z2W3HsqoTMrY4aMla/khpnkm0N8 62iJRkuVgRXllLU56xfBwTVCzDRjcuEmBXI1J07nDyqAsuKrfDlDIxSiier+xRoLZt8p 9F/gcYxJa9jgT0L1rco5ZfPF7YFgiq+pO0EJLVo+wE9Fl+4GOycTiwsXj5T33EJvvqB6 Jmwq1q1H5SgMuuhVhOezSkKcDgFl0SAjHwYuCRgkLmM+0L42kVKAPjB7Z3rq4R3VKF8+ fRzlnZUgbjVjP2hqE/lrYJRv5ziJetreK1jDuZBdFjxV+Jp/KELNi24m2cKdbHvbo9zk 1Rpw== X-Gm-Message-State: AOAM531QIjI8odWEvBDGU7+vX429vNTTrfmaFn0Po1qkhv8o9zPTa0zP S1IG3m2oqgVajbVF7Vr/fwSr87kjGY553fvfslSL3abj X-Received: by 2002:a05:6808:15a7:b0:32b:aeac:84d0 with SMTP id t39-20020a05680815a700b0032baeac84d0mr530515oiw.253.1653504038768; Wed, 25 May 2022 11:40:38 -0700 (PDT) MIME-Version: 1.0 References: <20220525093702.57166-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20220525093702.57166-1-jiapeng.chong@linux.alibaba.com> From: Alex Deucher Date: Wed, 25 May 2022 14:40:27 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: make program_imu_rlc_ram static To: Jiapeng Chong Cc: "Deucher, Alexander" , Dave Airlie , xinhui pan , Abaci Robot , LKML , Maling list - DRI developers , amd-gfx list , Christian Koenig Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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,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 Applied. Thanks! Alex On Wed, May 25, 2022 at 5:37 AM Jiapeng Chong wrote: > > This symbol is not used outside of imu_v11_0.c, so marks it > static. > > Fixes the following w1 warning: > > drivers/gpu/drm/amd/amdgpu/imu_v11_0.c:302:6: warning: no previous > prototype for =E2=80=98program_imu_rlc_ram=E2=80=99 [-Wmissing-prototypes= ]. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/gpu/drm/amd/amdgpu/imu_v11_0.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/imu_v11_0.c b/drivers/gpu/drm/amd= /amdgpu/imu_v11_0.c > index 5d2dfeff8fe5..d63d3f2b8a16 100644 > --- a/drivers/gpu/drm/amd/amdgpu/imu_v11_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/imu_v11_0.c > @@ -299,7 +299,7 @@ static const struct imu_rlc_ram_golden imu_rlc_ram_go= lden_11_0_2[] =3D > IMU_RLC_RAM_GOLDEN_VALUE(GC, 0, regCPG_PSP_DEBUG, CPG_PSP_DEBUG__= GPA_OVERRIDE_MASK, 0) > }; > > -void program_imu_rlc_ram(struct amdgpu_device *adev, > +static void program_imu_rlc_ram(struct amdgpu_device *adev, > const struct imu_rlc_ram_golden *regs, > const u32 array_size) > { > -- > 2.20.1.7.g153144c >