drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init
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.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -1
@@ -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 ; }
Signature · 6 lines
2.9.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Alex Deucher
AppliedQuoted 10 lines · Arnd Bergmann
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 <[email protected]>
Applied. thanks!
Alex
Quoted 20 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1
-2@@ -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
Quoted 4 lines
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx