Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5513793ioo; Wed, 1 Jun 2022 07:07:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzyB4xMj1Q8T9yspDHVhgkqm6pLQ5g4E0xDvlCB0igePXwvDapJ2GgSULx2T+0AFU1gBj+ X-Received: by 2002:a17:902:e851:b0:166:381f:633 with SMTP id t17-20020a170902e85100b00166381f0633mr162284plg.163.1654092450387; Wed, 01 Jun 2022 07:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654092450; cv=none; d=google.com; s=arc-20160816; b=QQUblT8Tu8wryBwAXPjNeUxMcZJc8RPVKGNp5/lCSrKTtXEtBHbY8w8+K1CBTwu1wG rPXgfxdpCZY6+uH99/PnxLyVCkvTG05qY40FB9jViPtwhutBDIpJTVJcrMRy+vBnCiE0 dru8fOu5VXxtCbFLGWiyFHkiYlgWMaRDn3ubZxzaV60bqoNtAIHWcLBh7hJ2m8gi4r3m ENssbIouBTB9kTbIIIoOPReOoekSiNYCczT7IRjvD+IPH/YyK+LQUf/ovSeqC026Y89x 68HD5F9kKoEIMwSlxdVjg1milojIaqM5gjfH/te7wQImp3HMoQQPdG8TkMFP8cejsJ/j lrWw== 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=XNsVAgAOaHBeTW3uh6pa2YZZKM4GP68jx8jpyunwFns=; b=CIKDxcSECBjBt7m3gwygPxvrt9y7sUzs0+AfRcV2Ag6SFoDQjxvub1M2J8CFj4SRwr +iQjAu9Sj1+D0KlR+ZebjUn1YuXeZkWiagqCJcQxEtiYrYh6m0CtkHsI+BvOor9al3uz 2wb/7q5GNTCGqKq+G89A2qq7YaqNlDu1YRDESoNoYwsveihEISKLQVu59UttnwBxWHEQ CsDlDIyw3Bn5Rs3U6DouJAQg0rr7tKnHkYbIh2vEeyDjXy5c5ic0os8iulkfGwnTQiTH zqkIdCLH1NP5PYSuts2AnrJJG5XN65yC05XjGqwLQiWjKgeEmPNMByH+mDH/6EjgiudX gapg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XjasywrC; 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 o5-20020a17090ac70500b001e271338f32si7173430pjt.178.2022.06.01.07.07.15; Wed, 01 Jun 2022 07:07:30 -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=XjasywrC; 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 S1347973AbiEaVWm (ORCPT + 99 others); Tue, 31 May 2022 17:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347971AbiEaVWi (ORCPT ); Tue, 31 May 2022 17:22:38 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 889A6590B3 for ; Tue, 31 May 2022 14:22:36 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id w130so175473oig.0 for ; Tue, 31 May 2022 14:22:36 -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; bh=XNsVAgAOaHBeTW3uh6pa2YZZKM4GP68jx8jpyunwFns=; b=XjasywrCMQ2pl8wC1KYGo2pSOLjGyfKW/h8uK/C8gGc2ZwM07WIcx2WjPq4glWpVMk uQj3ixsCVywkyoraZKoNb3dym5R74OpRPyeQfm9N0XGL+knCvyK7N52ET6d5xqAYvZDY D+qHu6/O5dSbDzqLdvAOBFMdqUuusYPWkfj1Xj0Nbrs1VlVPoK+geDPWSqqxB+8GNIFH sE6HYEEOV9X2Xp8QMOE9fTaHAH2UWSMPhyppkkboq0/6Ae9H1y64CIiM4j9AbQXZCasu 6jua8F6hw8uE6XNjOqjclD/eFH13AwZ31YdPgVes3M8g9t4jeVFTWj9Or08/qqP6QjpG sVDw== 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; bh=XNsVAgAOaHBeTW3uh6pa2YZZKM4GP68jx8jpyunwFns=; b=xZYiFTCtk2It4dZMzePUiyiqwjDmSXcqX77lBWk/A8BSMpPm6I5sOgLz8falsg24Ce bn/7syFKX7m+07NYQH72CMDZRbl47niz/quA/tjp4MYJvfBrUzZ9e4m2Xj+c1yon1LTg 1sp1zLQ6zLAc9c5/TYzbm+a8YehBK0U81+bPVno19Nn6bG185acKFLo0eWgIInEsypW5 FJN7P+nO8vOtgzc/0NfBtTHvLbxnrjaZYra2e3Cn384wU5rbK6S16TpLWGBt0vnyC+zB Y5ncWK+ZTtM7r4E8u4PdoD6HW6OmKCLOBVzHuHAFaeWxP/CV2Kze279xZlSc5Wk91ttZ XBzg== X-Gm-Message-State: AOAM530IYASmaL4/gr2pdVmVitmRHv8WJvxlCKk1fu6epFp8Ch691AMU 84lZcYLjaRiiarW1sAxS4juG4R4Y+JfzGbVcnBs= X-Received: by 2002:a05:6808:114f:b0:32b:1be0:2316 with SMTP id u15-20020a056808114f00b0032b1be02316mr12747067oiu.200.1654032155821; Tue, 31 May 2022 14:22:35 -0700 (PDT) MIME-Version: 1.0 References: <20220529062631.304316-1-sunliming@kylinos.cn> In-Reply-To: <20220529062631.304316-1-sunliming@kylinos.cn> From: Alex Deucher Date: Tue, 31 May 2022 17:22:24 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: make gfx_v11_0_rlc_stop static To: sunliming Cc: "Deucher, Alexander" , hristian.koenig@amd.com, xinhui pan , Dave Airlie , Daniel Vetter , Hawking Zhang , Mike Lothian , Xiaojian Du , "Quan, Evan" , kernel test robot , kelulanainsley@gmail.com, LKML , amd-gfx list , Maling list - DRI developers 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,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 Sun, May 29, 2022 at 7:50 AM sunliming wrote: > > This symbol is not used outside of gfx_v11_0.c, so marks it static. > > Fixes the following w1 warning: > > drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:1945:6: warning: no previous > prototype for function 'gfx_v11_0_rlc_stop' [-Wmissing-prototypes]. > > Reported-by: kernel test robot > Signed-off-by: sunliming > --- > drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c > index 8c0a3fc7aaa6..cb581cfc7464 100644 > --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c > @@ -1983,7 +1983,7 @@ static int gfx_v11_0_init_csb(struct amdgpu_device *adev) > return 0; > } > > -void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) > +static void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) > { > u32 tmp = RREG32_SOC15(GC, 0, regRLC_CNTL); > > -- > 2.25.1 >