Skip to content

Commit 6bedcf1

Browse files
committed
drm/vmwgfx: Fix a sparse warning in kernel docs
jira VULN-8161 cve CVE-2023-5633 commit-author Zack Rusin <zackr@vmware.com> commit 71bb70f Fixes a warning about extra docs about a function argument that has been removed a while back: drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c:3888: warning: Excess function parameter 'sync_file' description in 'vmw_execbuf_copy_fence_user' Fixes: a0f90c8 ("drm/vmwgfx: Fix stale file descriptors on failed usercopy") Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Martin Krastev <krastevm@vmware.com> Reviewed-by: Maaz Mombasawala <mombasawalam@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221022040236.616490-18-zack@kde.org (cherry picked from commit 71bb70f) Signed-off-by: Sultan Alsawaf <sultan@ciq.com>
1 parent 67f4fe8 commit 6bedcf1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3869,7 +3869,6 @@ int vmw_execbuf_fence_commands(struct drm_file *file_priv,
38693869
* @fence: Pointer to the fenc object.
38703870
* @fence_handle: User-space fence handle.
38713871
* @out_fence_fd: exported file descriptor for the fence. -1 if not used
3872-
* @sync_file: Only used to clean up in case of an error in this function.
38733872
*
38743873
* This function copies fence information to user-space. If copying fails, the
38753874
* user-space struct drm_vmw_fence_rep::error member is hopefully left

0 commit comments

Comments
 (0)