Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3772478rwd; Mon, 22 May 2023 20:41:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53HYSJeZbEi0O4mmGrDxA2C45i6YZyW/dyWn3NbNLyU8KE/v8jlEc+rYhfN9lJuQUJSxbb X-Received: by 2002:a17:90b:1889:b0:247:2680:2ad with SMTP id mn9-20020a17090b188900b00247268002admr11177465pjb.33.1684813311548; Mon, 22 May 2023 20:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684813311; cv=none; d=google.com; s=arc-20160816; b=brW0swpEf+KArmtZC6eFZGLVEhyR7EnAzuIUXXVyxC3K+4LWGffjRf5QBb7KYn30Gy ExNtvNYV5GiMdo4SAPLnTlWEAaWUto4fGju5DMAxaPdThsUWdc14c9gEiT8vsDag+Gvq rGrHRIBnaFoXw1lvwNr4DTLOoZzh+odjapITnNxLqDEhP5YdwSrX/MJqkeN8RFNz4EMy zAqx/hLALqJHhs2fSmEVLyGFM+cBG5G2BNSscm8K2aGX+gV37zEQlfwD0p5ywqFaUP6g /SM25o1xPDpl0bNhZozC9Mtx59suFdE6yeWR4FxvfjJWzlTbVeIE52yU1a/E71aLLff8 iLkw== 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=ZZqAz7eWVAGpy8qBeaCGgtGvawrMC/Ul1JWOOHAzta8=; b=e1ugao+NhnO8Sp6jH8F266sHhIvl7kjLLM9rSacP2oj+qEIyQGYiFUGcPmW7BkZ5y/ 1smX41WuWGGD6NCo5/gl/L5D534vgsqpHbcVHPD1o5jpnd68I3gtErrIQLsYdr9yRppB U8Agpzb2LXR3PV0dq239EAMiMRx3XPCak2W9UBkKtvcd4mFD6DEZwWa/N7DXWI+vkpyK ORVSacYnTO9MDYJ1qDuw693UWkwFscbIqf/vpbqmBIGlIB7KGt8vYCEycidiecxs4AgS otn66uNupWJCeOWn5rJO6ctlebR83cRIC8uqqyNdDDEOCdYqv7HbciotsCiFx6wOZ/4d +h7Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j71-20020a63804a000000b0053011490008si161401pgd.885.2023.05.22.20.41.34; Mon, 22 May 2023 20:41:51 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229447AbjEWDcT (ORCPT + 99 others); Mon, 22 May 2023 23:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjEWDcQ (ORCPT ); Mon, 22 May 2023 23:32:16 -0400 Received: from out30-101.freemail.mail.aliyun.com (out30-101.freemail.mail.aliyun.com [115.124.30.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6245790 for ; Mon, 22 May 2023 20:32:14 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R921e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VjIH3CS_1684812723; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VjIH3CS_1684812723) by smtp.aliyun-inc.com; Tue, 23 May 2023 11:32:11 +0800 From: Jiapeng Chong To: christian.koenig@amd.com Cc: Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] drm/amdgpu/vcn: Modify mismatched function name Date: Tue, 23 May 2023 11:32:02 +0800 Message-Id: <20230523033202.109828-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL 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 No functional modification involved. drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c:374: warning: expecting prototype for vcn_v4_0_mc_resume_dpg_mode(). Prototype was for vcn_v4_0_3_mc_resume_dpg_mode() instead. drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c:631: warning: expecting prototype for vcn_v4_0_enable_clock_gating(). Prototype was for vcn_v4_0_3_enable_clock_gating() instead. Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=5284 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c index 339842382a1e..5d67b8b8a3d6 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c @@ -362,7 +362,7 @@ static void vcn_v4_0_3_mc_resume(struct amdgpu_device *adev, int inst_idx) } /** - * vcn_v4_0_mc_resume_dpg_mode - memory controller programming for dpg mode + * vcn_v4_0_3_mc_resume_dpg_mode - memory controller programming for dpg mode * * @adev: amdgpu_device pointer * @inst_idx: instance number index @@ -620,7 +620,7 @@ static void vcn_v4_0_3_disable_clock_gating_dpg_mode(struct amdgpu_device *adev, } /** - * vcn_v4_0_enable_clock_gating - enable VCN clock gating + * vcn_v4_0_3_enable_clock_gating - enable VCN clock gating * * @adev: amdgpu_device pointer * @inst_idx: instance number -- 2.20.1.7.g153144c