diff options
| author | Deepak R Varma <mh12gx2825@gmail.com> | 2020-11-03 01:07:12 +0530 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-02 15:35:50 -0500 | 
| commit | c4c5ae67d17976d058341b24908d5f562f3ce933 (patch) | |
| tree | 1b1c9a86d42c322541e5dedf593296d500f34cc3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
| parent | 8e607d7e27d87484f652218d7a10d7446ab2cbe7 (diff) | |
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_ring.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c index 15ee13c3bd9e..2697b250dc32 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c @@ -396,7 +396,7 @@ static ssize_t amdgpu_debugfs_ring_read(struct file *f, char __user *buf,  			return result;  		value = ring->ring[(*pos - 12)/4]; -		r = put_user(value, (uint32_t*)buf); +		r = put_user(value, (uint32_t *)buf);  		if (r)  			return r;  		buf += 4; | 
