Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2695541ioo; Sun, 29 May 2022 00:13:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1DZMGJvWMf8EV9JOnjv1xdRlzaXNWdCT23A/YaNvdAtLBzN5uTva64d0son5VtQvg6O0e X-Received: by 2002:a17:906:4fd5:b0:6ff:2b0d:6031 with SMTP id i21-20020a1709064fd500b006ff2b0d6031mr12321335ejw.607.1653808397660; Sun, 29 May 2022 00:13:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653808397; cv=none; d=google.com; s=arc-20160816; b=kZWmK4U7diCX2YfrIyfidLENSFRuYgw6EnanwzKXbww813utB5ZLAEu+x9N2i+0eRP nT8AVmXewLbR9Fh0F5gUfIwOWMtU0LP0cgmOisHpjiS8Ve2Nzns8tOV7OGa2UphSBWF/ g4/ICGLBuKkJzFTit86J261g7uDanZECZT3HE96XHOV/tPT5isqsyTsKu+7SMk4MzzAr UFmaknxltmkWFNWwvuSSZCOF1o1Pf1nP2f12SYFwb2DO6oXzefucalj5pOReO5JLbGvj tKPRPrbCAADLi8te8C/aFQ4bgTk962tgwRUbk+xp2xmu8jcYB5Y5D6AQII6+tuzbrSpc k3Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nAodg8IpCf1YlPCwEY/9oZB3Kk0d9gb9lVermXkWYgQ=; b=Yck6DNHhREWR8LffAwJM6DFBL4jDSGRIBIs908d6mxgKbXpNEqEaP+Ki4tL1SMDxic 8LcuArdZRSS6+fwtnKM/1QlSr1rRuBdRFdHUb+84oyX7U4z/Tbl8m6udxeqbOvwYE8CB c34GsWqyToli+Ov9+4NAAyK5wlNeJ48utthRQ/Jooa/Iy7HRT9IBuaBJDX94ZKGECSEZ KT1osyFfFfGsJR5+BCRSwfXNwHPCVYh2ooqKsnxD4k+ycuH9se3qolEfRE9rSpGG9g2I p9mvlQodTt97qQVnX6xAlQWVABGnxW+B2y72E/L3wBbKsGOltjwZb5mBKloGLmKIK8ha mbJw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs8-20020a0564020c4800b0042db0cd9277si3607294edb.600.2022.05.29.00.12.49; Sun, 29 May 2022 00:13:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229532AbiE2G0w (ORCPT + 99 others); Sun, 29 May 2022 02:26:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbiE2G0n (ORCPT ); Sun, 29 May 2022 02:26:43 -0400 Received: from mail-pj1-f66.google.com (mail-pj1-f66.google.com [209.85.216.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 995ED655F for ; Sat, 28 May 2022 23:26:41 -0700 (PDT) Received: by mail-pj1-f66.google.com with SMTP id v11-20020a17090a4ecb00b001e2c5b837ccso1457165pjl.3 for ; Sat, 28 May 2022 23:26:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nAodg8IpCf1YlPCwEY/9oZB3Kk0d9gb9lVermXkWYgQ=; b=Z4WxoEZlCnEh/y1SI1t01qmuDfJ5QYethtvW6jZZjfTqVHfJm6p6pZd2t6GDTF6t7V hsAEgPrlO8rQttz8Gjrb1GST6pYYGoWWuvpFhEHR3/aqaIsSjyTCY5PK/d6r4TB1Rxkn Wfca8ev68s4UE1eXsEmm6M8vWT5iisX/J67NwiEYx9v5bCCrT6FZ21LuuvkY0/NEFug7 GE8JXTQyisxLg7dXqhVRljTV+dqlro1ytpWERCnZXqMQV4B/pgr+sufMMI7MxvW+IAP1 S6XCz06QDfK3dNgtH1HQHg1Q7igdmz+MXTUpjvSxJ5wz1TTTGvu7rJYRsr5Xmep8B/PD LxzQ== X-Gm-Message-State: AOAM532rSKYNMvGDJlsp/RwkQHlfqXoYmteZxMSa0HdfP0REhXIEkWqV FlD/o3FV42sMyfHstY24gw== X-Received: by 2002:a17:903:2c7:b0:158:2f26:6016 with SMTP id s7-20020a17090302c700b001582f266016mr50903382plk.154.1653805601094; Sat, 28 May 2022 23:26:41 -0700 (PDT) Received: from localhost.localdomain (ns1003916.ip-51-81-154.us. [51.81.154.37]) by smtp.gmail.com with ESMTPSA id x12-20020a170902ec8c00b00161955fe0d5sm6761554plg.274.2022.05.28.23.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 23:26:40 -0700 (PDT) From: sunliming To: alexander.deucher@amd.com, hristian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, Hawking.Zhang@amd.com, mike@fireburn.co.uk, Xiaojian.Du@amd.com, evan.quan@amd.com Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, sunliming@kylinos.cn, kelulanainsley@gmail.com, kernel test robot Subject: [PATCH] drm/amdgpu: make gfx_v11_0_rlc_stop static Date: Sun, 29 May 2022 14:26:31 +0800 Message-Id: <20220529062631.304316-1-sunliming@kylinos.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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