habanalabs: print pointer using %p

Don't cast pointer to u64 to print it. Instead, print the pointer using
%p.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oded Gabbay 2019-02-28 11:55:45 +02:00 committed by Greg Kroah-Hartman
parent 9e28c17641
commit efaa281219

View File

@ -4276,9 +4276,8 @@ static int goya_parse_cb_no_ext_quque(struct hl_device *hdev,
return 0;
dev_err(hdev->dev,
"Internal CB address 0x%llx + 0x%x is not in SRAM nor in DRAM\n",
(u64) (uintptr_t) parser->user_cb,
parser->user_cb_size);
"Internal CB address %p + 0x%x is not in SRAM nor in DRAM\n",
parser->user_cb, parser->user_cb_size);
return -EFAULT;
}