diff options
author | chenxuebing <chenxb_99091@126.com> | 2024-01-11 03:58:50 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-18 21:38:05 +0100 |
commit | 522f878a0c265cd1822c5a32491c20beddbea8ce (patch) | |
tree | a37d110dd6a10576a5124a6c42b7d5f13601d3b8 /drivers/gpu/drm/amd/include/atom-bits.h | |
parent | drm/amd/include: Clean up errors in arct_ip_offset.h (diff) | |
download | linux-522f878a0c265cd1822c5a32491c20beddbea8ce.tar.xz linux-522f878a0c265cd1822c5a32491c20beddbea8ce.zip |
drm/amdgpu: Clean up errors in atom-bits.h
Fix the following errors reported by checkpatch:
ERROR: space prohibited before that ',' (ctx:WxV)
Signed-off-by: chenxuebing <chenxb_99091@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/atom-bits.h')
-rw-r--r-- | drivers/gpu/drm/amd/include/atom-bits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/include/atom-bits.h b/drivers/gpu/drm/amd/include/atom-bits.h index e8fae5c77514..2bfd6d0ff050 100644 --- a/drivers/gpu/drm/amd/include/atom-bits.h +++ b/drivers/gpu/drm/amd/include/atom-bits.h @@ -33,7 +33,7 @@ static inline uint8_t get_u8(void *bios, int ptr) #define CU8(ptr) get_u8(ctx->bios, (ptr)) static inline uint16_t get_u16(void *bios, int ptr) { - return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); + return get_u8(bios, ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); } #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) #define CU16(ptr) get_u16(ctx->bios, (ptr)) |