diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-07-13 08:36:03 +0100 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2016-08-09 10:02:02 +0300 |
commit | 6dae61627d1004895bfcee81d24482ec64cbecc5 (patch) | |
tree | 0dc062500da61c03cbe6b7e3be738213bad69bfb /drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | |
parent | 36e9d08b58f44c3a02974c405ccaaa6ecfaf05b8 (diff) | |
download | talos-op-linux-6dae61627d1004895bfcee81d24482ec64cbecc5.tar.gz talos-op-linux-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/kfd_doorbell.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c | 2 |
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)); |