From b63539a6faee0bfe7c3efb838fc7dd78d34a2ae6 Mon Sep 17 00:00:00 2001 From: Oded Gabbay Date: Sun, 19 Jun 2022 12:37:01 +0300 Subject: habanalabs: print pointer with correct modifier Use %p instead of %llx for printing pointers. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/command_submission.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/misc') 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; } -- cgit v1.2.3