accel/habanalabs: print error code when mapping fails
authorDani Liberman <dliberman@habana.ai>
Sun, 12 Nov 2023 11:38:42 +0000 (13:38 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 19 Dec 2023 09:09:43 +0000 (11:09 +0200)
commitc9f9d0e3d0db300315d3bde7f122439633e6f007
tree7f4747637338aa3e6462b8a85bd80103a37f8f23
parentae303d885d4a0fcea65330de9327d28edfebd206
accel/habanalabs: print error code when mapping fails

Failure to map is considered a non-trivial error and we need to notify
the user about it.

Signed-off-by: Dani Liberman <dliberman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/common/memory.c