habanalabs: fix type of variable
authorOded Gabbay <ogabbay@kernel.org>
Sat, 10 Jul 2021 17:00:35 +0000 (20:00 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 29 Aug 2021 06:47:46 +0000 (09:47 +0300)
commitd18bf13e225258b6ee5325fc7cce48059c7b871f
treedcbe3c2268bd5b3da820e426f187679dbd73ef35
parenta9623a8b3ae67d04187b7a4478d4e4155720eebc
habanalabs: fix type of variable

Recently, the size parameter in userptr structure was change to u64.
As a result, we need to change the type of the local range_size
in device_va_to_pa() to u64 to avoid overflow.

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