[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_N1NWJynnaF0pkYfyTRMsV0ckoHWgDSgPNywgJYSNMVag@mail.gmail.com>
Date: Wed, 21 Jun 2017 18:10:08 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Alex Deucher <alexander.deucher@....com>,
Tom St Denis <tom.stdenis@....com>,
LKML <linux-kernel@...r.kernel.org>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Huang Rui <ray.huang@....com>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>,
Junwei Zhang <Jerry.Zhang@....com>,
Ken Wang <Qingqing.Wang@....com>,
Christian König <christian.koenig@....com>,
Monk Liu <Monk.Liu@....com>
Subject: Re: [PATCH] drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init
On Wed, Jun 21, 2017 at 5:51 PM, Arnd Bergmann <arnd@...db.de> wrote:
> 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 <arnd@...db.de>
Applied. thanks!
Alex
> ---
> 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;
> }
> --
> 2.9.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Powered by blists - more mailing lists