diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1153-drm-amdkfd-Improve-the-debug-message.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1153-drm-amdkfd-Improve-the-debug-message.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1153-drm-amdkfd-Improve-the-debug-message.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1153-drm-amdkfd-Improve-the-debug-message.patch new file mode 100644 index 00000000..19112611 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1153-drm-amdkfd-Improve-the-debug-message.patch @@ -0,0 +1,33 @@ +From bc932af3feddc59067ee28cdca07e5bfbafaac3c Mon Sep 17 00:00:00 2001 +From: Yong Zhao <yong.zhao@amd.com> +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 <yong.zhao@amd.com> +--- + 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 + |