summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2022-06-19 12:37:01 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-07-12 09:09:24 +0300
commitb63539a6faee0bfe7c3efb838fc7dd78d34a2ae6 (patch)
tree36e1d39012a8da35995103f04d6aab8bc51d47d9 /drivers/misc
parentabe85a9c11a9b982199db4d66f71c482069ed1cf (diff)
downloadlinux-b63539a6faee0bfe7c3efb838fc7dd78d34a2ae6.tar.bz2
habanalabs: print pointer with correct modifier
Use %p instead of %llx for printing pointers. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/habanalabs/common/command_submission.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/habanalabs/common/command_submission.c b/drivers/misc/habanalabs/common/command_submission.c
index e5549a9da42e..5130a63e49cf 100644
--- a/drivers/misc/habanalabs/common/command_submission.c
+++ b/drivers/misc/habanalabs/common/command_submission.c
@@ -3035,8 +3035,8 @@ start_over:
*pend = requested_offset_record;
- dev_dbg(buf->mmg->dev, "Found available node in TS kernel CB(0x%llx)\n",
- (u64)(uintptr_t)requested_offset_record);
+ dev_dbg(buf->mmg->dev, "Found available node in TS kernel CB %p\n",
+ requested_offset_record);
return 0;
}