提交 efaa2812 编写于 作者: O Oded Gabbay 提交者: Greg Kroah-Hartman

habanalabs: print pointer using %p

Don't cast pointer to u64 to print it. Instead, print the pointer using
%p.
Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 9e28c176
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册