Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efaa2812 authored by Oded Gabbay's avatar Oded Gabbay Committed by Greg Kroah-Hartman
Browse files

habanalabs: print pointer using %p



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

Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9e28c176
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;
	}