From patchwork Wed Jun 21 21:51:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9803017 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9A711600C5 for ; Wed, 21 Jun 2017 21:51:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BCA020408 for ; Wed, 21 Jun 2017 21:51:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8023828409; Wed, 21 Jun 2017 21:51:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 14B3020408 for ; Wed, 21 Jun 2017 21:51:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 93E3D6E594; Wed, 21 Jun 2017 21:51:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 81A416E594; Wed, 21 Jun 2017 21:51:29 +0000 (UTC) Received: from wuerfel.lan ([5.56.224.194]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0MdTH9-1d5r0S0Mzb-00IX7c; Wed, 21 Jun 2017 23:51:23 +0200 From: Arnd Bergmann To: Alex Deucher Subject: [PATCH] drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init Date: Wed, 21 Jun 2017 23:51:02 +0200 Message-Id: <20170621215121.3891272-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Y2A7HGWxZdraaRJnolhY4TmB0q1E4Yz4Ndm8o3BoY0yvortxmYn TbPClQG+9qBY16RDLwbkCtCi+3dP1Vuao4wmMMy7ZdpBn78Xna5bqHgoHWBZfJOyb9E53Vc Z/KwbCh52+skfKA07/KLx8gu31l5WMZPDuhopAFj5yn4S3oC/YdfVj7GVk/iB8MQ9emROim ppY5LUvHNnO0IafOQW69A== X-UI-Out-Filterresults: notjunk:1; V01:K0:c3s1pTjtdVA=:+Pvp20zgr0dYuuUwS6rNuu YARIPayoAc/pjXs0iZuo8ce6FTy0RCuMlijqh+TDt7g6b7RrO3sSHH+D0/1IBxEym+4n5rYjE IADZfM4RN1PZqqOtROu22IUaXtkkITI4txD89U/IiCgtFYUP+hQ7q5x554YSXJwulqgmJIuMT KJ9Yy4b0VpSoGPcjfhJl4zkwM6NjsXkp4bz5iWfg+XF8UQMgg1ai7mYekXYbqlHh5IP9ykT9P 8MjAZFWEzftpGj/1zHBtAA9bYXruPyWicL9MS1H+KvC7opXFgDMO+KhHiaTFMz/a2fQhuESKV vi33tPcM2yHMGqZCHPLtFno++4FFNeZDaSJ4ikbAdvK7ovcoKA0Itp5Dc63B3+0GHcVMC88vU 6077cSIPn25gzAS2+j73lqxtU0gogOhrrTC9LEevsvXCamv5A3ySmu0TkKbFPsR7/LmiDFD9P P/jFeRbkhEyX7eTRokL3fUlNOJHyIYcDblxK9FlONKwLUEVfcXeTJp8wjScR40l5qzMiiul/q zvZNfWCTEszK1Pzpz5VkizzPmI4dU+MiXT2j/85Z5nCZiouDgSjb90mOOQST/lFkH7m3AW/RR I2BDtWoq4f5tK065nfrW3s8BspEJAc9BYmL4bJYYwPLr8WlEaX4s35l+OPAR2PDCPTN7noJY1 BZ9oM3G4gMBAyBCXFU0pPugc/0nU5JWRBkdiHvqAcE+NSC6AI1+Bx2GUDrVWgmijOyUA= Cc: Tom St Denis , Arnd Bergmann , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Huang Rui , dri-devel@lists.freedesktop.org, Junwei Zhang , Ken Wang , =?UTF-8?q?Christian=20K=C3=B6nig?= , Monk Liu X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The debugfs interface has calls a function that was evidently defined under the wrong name in some configurations: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:64:12: error: 'amdgpu_debugfs_test_ib_ring_init' used but never defined [-Werror] drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:3803:12: error: 'amdgpu_debugfs_test_ib_init' defined but not used [-Werror=unused-function] This fixes the function name. Fixes: 4f0955fcc052 ("drm/amdgpu: export test ib debugfs interface") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 2ee7c50c70f9..4a8fc15467cf 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -3800,7 +3800,7 @@ int amdgpu_debugfs_init(struct drm_minor *minor) return 0; } #else -static int amdgpu_debugfs_test_ib_init(struct amdgpu_device *adev) +static int amdgpu_debugfs_test_ib_ring_init(struct amdgpu_device *adev) { return 0; }