Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4590022rwd; Tue, 23 May 2023 09:34:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ReGFSfMYclg4aJPZ1Ec0JdGQXgxMXavQ2ZGiydtAPl+VBE4mZsEiw+LsyuKpdT+Ic7S/i X-Received: by 2002:a17:903:2287:b0:1ad:ea13:1914 with SMTP id b7-20020a170903228700b001adea131914mr20801522plh.30.1684859683387; Tue, 23 May 2023 09:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684859683; cv=none; d=google.com; s=arc-20160816; b=f8M5/qFqXoSmvfcKQCIsodECsA1hfoy7GMHSGcLFCVbJIFabif9hwdUOWm+RpvC/GP /GDFZB1+1fZPXWEFlsZ9sGep8UvxysvpB7mWpVq/fDRDMqBDq+JUQFvlfh1Rho13bORh 5nxkUAc2rjCXTchxpv1FsgFYG/RuNU7BWB6HlyCP6+upSqrMUOFCusYgs5nq1cBVeVvq or1WSksgbLihpje5Wm5375t60WACNXgmjY5EBwzgMy90GmZ2etyYq1s9w1vszYN0F+sj 6TE9LlIejDq5XF6EdXDZcemT267cv/bffsfRCmWZMV+EjU7C7YLjctHkWmONEO1qyEFB 9M/g== 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=GFvK2YI/SbwYaKr7Laqhu7qjWnMsgbqf1UfbCGjE36A=; b=0GBtfhELbsFD5QLTag4wehCvVK//qs6U7iMVWjFX5HJmjYf+bjQRcSpLY/vF8tL0ek ASJoNLZx4MnYC+2XCcydjCYjJUVSRYZDf+ISL8uGyqitbW10em/akSc/BATJTEv807Cn r4KA8Q+0xMZLtsz+Mp1TJmDodU3zJhym/hIHeF0PE9/om9aYQbONIFjXTjGNIxJu17lI BiqOD7pPD0yxlR0FVk+DKGm6DzAI2L1mtMnJWWiIe9cFr3uC8LhzLV+zYgnYk8qwr1GP 7idlIGra5XvZrDI2bGFWThcJauCka7liTya+PtoLrxwmewFcaALayJfNBIqJ/cKDO2iZ ubaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=hA7H5Y4U; 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 21-20020a170902c21500b001a6d4eab493si812607pll.26.2023.05.23.09.34.29; Tue, 23 May 2023 09:34:43 -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=20221208 header.b=hA7H5Y4U; 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 S237576AbjEWP6I (ORCPT + 99 others); Tue, 23 May 2023 11:58:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237460AbjEWP6G (ORCPT ); Tue, 23 May 2023 11:58:06 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98F6FE0 for ; Tue, 23 May 2023 08:58:05 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6af6f309613so1896697a34.0 for ; Tue, 23 May 2023 08:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684857485; x=1687449485; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GFvK2YI/SbwYaKr7Laqhu7qjWnMsgbqf1UfbCGjE36A=; b=hA7H5Y4Uy0DlU+6tVXmlOjXIaAE+kzcbckW+uLeM5cTkq4lkSIyH5kSJwgnQ5VpErz /iouIKIQJEn4Kgcdn4V56BJbegiUFnlI3zE3XyzBZ7MpqX59ModviJ8I+pFxG89n8E9r aSZri1UHfi3gAUHoNpC3Ty2Ricv5rvtOrBNxipJf24Ycw+CGwHZDl2cPwvmxhAahjaNd pg0ptOe8RYOiBxUZiwxuCnlZccrNJ2oL80DR52X13d5Hlb1ym1kHr9BWNnIeXJ7VwCsF /rjXzj7IPSQtqx/feRTbUXy+wjl6mhFjKYmrX63IPqXngcATyLAvjX94UurAQnmcd56k 8V3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684857485; x=1687449485; h=content-transfer-encoding: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=GFvK2YI/SbwYaKr7Laqhu7qjWnMsgbqf1UfbCGjE36A=; b=KzJwD2Xstw7ZOEjfCbNrENOKs3iKmo+nh6pamf/ZNh/Son0tEnaJk/NgATx4Jcyi0f WyNE5mAuoo1oyuF4sL3RtiDRHSjrUF/zTFRXBiH+TDgkGiMkbLVt6bVaDLIbuj1x4Ldl giQx87XbNOzN0XyDdUgQtn3Sl4ZErAcV4F/4m/YVmk9SnLP50h2J2djTdC/74b/cKQt5 90+2WlX3697DxrOd8Ti8Wz4UbxiTe34DmVrQCvGVskAuMvSYH9iFJTPqgIalrGFDXtyV uLaalxz0yfFJsaSJnsoMWGTylZhBM+rUVbnxZvsUJyiogVMjrBaTVW0/p+26S8zIkK4f +Vww== X-Gm-Message-State: AC+VfDx6prO9LcjTMmgZZTn3wMVIhj3Sp5SyTDBRVYzw/bebnzDcnEHg POJHa9zCWhe4awJCb8GbQ9ZNUTkMgecCHYDlhBEOiE4s X-Received: by 2002:aca:3356:0:b0:395:e376:7ca1 with SMTP id z83-20020aca3356000000b00395e3767ca1mr8819792oiz.7.1684857484855; Tue, 23 May 2023 08:58:04 -0700 (PDT) MIME-Version: 1.0 References: <20230523033202.109828-1-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20230523033202.109828-1-jiapeng.chong@linux.alibaba.com> From: Alex Deucher Date: Tue, 23 May 2023 11:57:53 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu/vcn: Modify mismatched function name To: Jiapeng Chong Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, Abaci Robot , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org 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, URIBL_BLOCKED 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 Mon, May 22, 2023 at 11:32=E2=80=AFPM Jiapeng Chong wrote: > > 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_cl= ock_gating() instead. > > Reported-by: Abaci Robot > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3D5284 > 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/am= d/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 m= ode > + * 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 >