]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amdgpu: Correct misnamed function in amdgpu_gem.c
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Sun, 31 Aug 2025 09:46:04 +0000 (15:16 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:41 +0000 (17:38 -0400)
The header comment above amdgpu_gem_list_handles_ioctl referenced
drm_amdgpu_gem_list_handles_ioctl. Update the comment to reflect the
actual function identifier to avoid misleading prototype warnings.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:1106: warning: expecting prototype for drm_amdgpu_gem_list_handles_ioctl(). Prototype was for amdgpu_gem_list_handles_ioctl() instead

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

index e587e5ddeb000dbdecb5baa32ebb4df8664127c4..8bec41cdccd7757cafa285cb60d2a736e3b8ec1b 100644 (file)
@@ -1087,7 +1087,7 @@ out_exec:
 }
 
 /**
- * drm_amdgpu_gem_list_handles_ioctl - get information about a process' buffer objects
+ * amdgpu_gem_list_handles_ioctl - get information about a process' buffer objects
  *
  * @dev: drm device pointer
  * @data: drm_amdgpu_gem_list_handles