drm/amdgpu/userq: convert comma to semicolon
Subsystems (2)
PATCH 1/1 drm/amdgpu/userq: convert comma to semicolon
Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it seems best to use ';' unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.
Signed-off-by Chen Ni <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c +2 -2
@@ -961,13 +961,13 @@ int amdgpu_userq_wait_ioctl(struct drm_device *dev, void *data, } num_read_bo_handles = wait_info->num_bo_read_handles; - ptr =u64_to_user_ptr (wait_info->bo_read_handles), + ptr =u64_to_user_ptr (wait_info->bo_read_handles); r =drm_gem_objects_lookup (filp, ptr, num_read_bo_handles, &gobj_read);if (r) goto free_timeline_points; num_write_bo_handles = wait_info->num_bo_write_handles; - ptr =u64_to_user_ptr (wait_info->bo_write_handles), + ptr =u64_to_user_ptr (wait_info->bo_write_handles); r =drm_gem_objects_lookup (filp, ptr, num_write_bo_handles, &gobj_write);if (r)
Signature · 1 line
2.25.1
Alex Deucher
AppliedApplied. thanks!
Alex
Quoted 37 lines · Chen Ni
Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it seems best to use ';' unless ',' is intended.
Found by inspection.
No functional change intended.
Compile tested only.Signed-off-by Chen Ni <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c +2
-3@@ -961,13 +961,13 @@ int amdgpu_userq_wait_ioctl(struct drm_device *dev, void *data, } num_read_bo_handles = wait_info->num_bo_read_handles; - ptr =u64_to_user_ptr (wait_info->bo_read_handles), + ptr =u64_to_user_ptr (wait_info->bo_read_handles); r =drm_gem_objects_lookup (filp, ptr, num_read_bo_handles, &gobj_read);if (r) goto free_timeline_points; num_write_bo_handles = wait_info->num_bo_write_handles; - ptr =u64_to_user_ptr (wait_info->bo_write_handles), + ptr =u64_to_user_ptr (wait_info->bo_write_handles); r =drm_gem_objects_lookup (filp, ptr, num_write_bo_handles, &gobj_write);if (r) --2.25.1