[PATCH] drivers:gpu:drm:selftests: cleanup __FUNCTION__ usage

2021-07-11 Thread Dwaipayan Ray
__FUNCTION__ exists only for backwards compatibility reasons with old gcc versions. Replace it with __func__. Signed-off-by: Dwaipayan Ray --- drivers/gpu/drm/selftests/test-drm_modeset_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/selftests/test

[PATCH --next] drm/amd/amdgpu: Fix kernel doc warnings

2021-06-13 Thread Dwaipayan Ray
3: warning: Excess function parameter 'mem' description in 'amdgpu_gtt_mgr_del' Rename the kernel doc function arguments to match the prototype. Signed-off-by: Dwaipayan Ray --- drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c

[PATCH] drm/amd/amdgpu: Fix errors in function documentation

2021-05-10 Thread Dwaipayan Ray
Fix a couple of syntax errors and removed one excess parameter in the function documentations which lead to kernel docs build warning. Signed-off-by: Dwaipayan Ray --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 1 - 2 files changed, 3 insertions