Commit 522f878a authored by chenxuebing's avatar chenxuebing Committed by Alex Deucher

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: default avatarchenxuebing <chenxb_99091@126.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 142e2227
...@@ -33,7 +33,7 @@ static inline uint8_t get_u8(void *bios, int ptr) ...@@ -33,7 +33,7 @@ static inline uint8_t get_u8(void *bios, int ptr)
#define CU8(ptr) get_u8(ctx->bios, (ptr)) #define CU8(ptr) get_u8(ctx->bios, (ptr))
static inline uint16_t get_u16(void *bios, int 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 U16(ptr) get_u16(ctx->ctx->bios, (ptr))
#define CU16(ptr) get_u16(ctx->bios, (ptr)) #define CU16(ptr) get_u16(ctx->bios, (ptr))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment