mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-09 03:36:40 +07:00
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:
parent
9e28c17641
commit
efaa281219
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user