From bc932af3feddc59067ee28cdca07e5bfbafaac3c Mon Sep 17 00:00:00 2001 From: Yong Zhao Date: Wed, 15 Jun 2016 17:46:03 -0400 Subject: [PATCH 1153/4131] drm/amdkfd: Improve the debug message Some misleading debug messages are rectified. Moreover, the size parameter used when allocating memory is changed to uint64_t from size_t in order to be consistent with the size type in the alloc ioctl parameter. Change-Id: I9aad3ae0c2030d4bcd9a586b2d96e21088cfa636 Signed-off-by: Yong Zhao --- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c index 43d3954..314c178 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c @@ -1915,7 +1915,8 @@ static long kfd_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) } else goto err_i1; - dev_dbg(kfd_device, "ioctl cmd 0x%x (#%d), arg 0x%lx\n", cmd, nr, arg); + dev_dbg(kfd_device, "ioctl cmd 0x%x (#0x%x), arg 0x%lx\n", + cmd, nr, arg); process = kfd_get_process(current); if (IS_ERR(process)) { -- 2.7.4