Skip to content

Commit 6dae616

Browse files
Colin Ian Kingogabbay
authored andcommitted
drm/amdkfd: print doorbell offset as a hex value
The doorbell offset is formatted with a 0x prefix to suggest it is a hexadecimal value, when in fact %d is being used and this is confusing. Use %X instead to match the proceeding 0x prefix. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
1 parent 36e9d08 commit 6dae616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ u32 __iomem *kfd_get_kernel_doorbell(struct kfd_dev *kfd,
184184
sizeof(u32)) + inx;
185185

186186
pr_debug("kfd: get kernel queue doorbell\n"
187-
" doorbell offset == 0x%08d\n"
187+
" doorbell offset == 0x%08X\n"
188188
" kernel address == 0x%08lX\n",
189189
*doorbell_off, (uintptr_t)(kfd->doorbell_kernel_ptr + inx));
190190

0 commit comments

Comments
 (0)