habanalabs: better error print for pin failure
authorOded Gabbay <ogabbay@kernel.org>
Sun, 2 May 2021 09:28:48 +0000 (12:28 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Fri, 18 Jun 2021 12:23:39 +0000 (15:23 +0300)
commitc07c54e9de32ea8e89e7c2a112c14f59602a402c
tree16dba8df30a10771f2abcfae8f7a6599a876f2f4
parent3f18b8421fcd1e9370c240245756f6179d6f357c
habanalabs: better error print for pin failure

Print the user given pointer and error code on failure to get user
pages for easier debugging.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/memory.c