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_ucode.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_ucode.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c index 1c9476a060d7..2b7c90b7a712 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -588,8 +588,8 @@ static int amdgpu_ucode_patch_jt(struct amdgpu_firmware_info *ucode,  {  	const struct gfx_firmware_header_v1_0 *header = NULL;  	const struct common_firmware_header *comm_hdr = NULL; -	uint8_t* src_addr = NULL; -	uint8_t* dst_addr = NULL; +	uint8_t *src_addr = NULL; +	uint8_t *dst_addr = NULL;  	if (NULL == ucode->fw)  		return 0; | 
