summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorDeepak R Varma <mh12gx2825@gmail.com>2020-11-03 01:07:12 +0530
committerAlex Deucher <alexander.deucher@amd.com>2020-11-02 15:35:50 -0500
commitc4c5ae67d17976d058341b24908d5f562f3ce933 (patch)
tree1b1c9a86d42c322541e5dedf593296d500f34cc3 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent8e607d7e27d87484f652218d7a10d7446ab2cbe7 (diff)
downloadlinux-stable-c4c5ae67d17976d058341b24908d5f562f3ce933.tar.gz
linux-stable-c4c5ae67d17976d058341b24908d5f562f3ce933.tar.bz2
linux-stable-c4c5ae67d17976d058341b24908d5f562f3ce933.zip
drm/amdgpu/amdgpu: use "*" adjacent to data name
When declaring pointer data, the "*" symbol should be used adjacent to the data name as per the coding standards. This resolves following issues reported by checkpatch script: ERROR: "foo * bar" should be "foo *bar" ERROR: "foo * bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
index 309464a8c06b..79342976fa76 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -1461,7 +1461,7 @@ int amdgpu_cs_fence_to_handle_ioctl(struct drm_device *dev, void *data,
dma_fence_put(fence);
if (r)
return r;
- r = drm_syncobj_get_fd(syncobj, (int*)&info->out.handle);
+ r = drm_syncobj_get_fd(syncobj, (int *)&info->out.handle);
drm_syncobj_put(syncobj);
return r;