Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Colin Ian King and committed by
Oded Gabbay
6dae6162 36e9d08b

+1 -1
+1 -1
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
··· 184 184 sizeof(u32)) + inx; 185 185 186 186 pr_debug("kfd: get kernel queue doorbell\n" 187 - " doorbell offset == 0x%08d\n" 187 + " doorbell offset == 0x%08X\n" 188 188 " kernel address == 0x%08lX\n", 189 189 *doorbell_off, (uintptr_t)(kfd->doorbell_kernel_ptr + inx)); 190 190