habanalabs: print pointer with correct modifier
authorOded Gabbay <ogabbay@kernel.org>
Sun, 19 Jun 2022 09:37:01 +0000 (12:37 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:24 +0000 (09:09 +0300)
Use %p instead of %llx for printing pointers.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c

index e5549a9..5130a63 100644 (file)
@@ -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;
 }