accel/habanalabs: minimize error prints when mem map fails
authorMoti Haimovski <mhaimovski@habana.ai>
Wed, 25 Jan 2023 18:16:19 +0000 (20:16 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:12 +0000 (13:29 +0200)
commite0ad6bad80b52b84cc0592b949a0efd2106928c2
tree69c69e83fb9234719cba014f652145a062b4ebee
parente38f88e42aac52ac51ef8213157405516a570b0a
accel/habanalabs: minimize error prints when mem map fails

This commit minimizes the "chain of errors" displayed when memory
mapping fails.

Signed-off-by: Moti Haimovski <mhaimovski@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
drivers/accel/habanalabs/common/memory.c