summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-07-13 08:36:03 +0100
committerOded Gabbay <oded.gabbay@gmail.com>2016-08-09 10:02:02 +0300
commit6dae61627d1004895bfcee81d24482ec64cbecc5 (patch)
tree0dc062500da61c03cbe6b7e3be738213bad69bfb /drivers/gpu/drm/amd/amdkfd
parent36e9d08b58f44c3a02974c405ccaaa6ecfaf05b8 (diff)
downloadlinux-stable-6dae61627d1004895bfcee81d24482ec64cbecc5.tar.gz
linux-stable-6dae61627d1004895bfcee81d24482ec64cbecc5.tar.bz2
linux-stable-6dae61627d1004895bfcee81d24482ec64cbecc5.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c b/drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
index e621eba63126..a7d3cb3fead0 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
@@ -184,7 +184,7 @@ u32 __iomem *kfd_get_kernel_doorbell(struct kfd_dev *kfd,
sizeof(u32)) + inx;
pr_debug("kfd: get kernel queue doorbell\n"
- " doorbell offset == 0x%08d\n"
+ " doorbell offset == 0x%08X\n"
" kernel address == 0x%08lX\n",
*doorbell_off, (uintptr_t)(kfd->doorbell_kernel_ptr + inx));