linux-stable/drivers/misc/habanalabs
Guenter Roeck 94865e2dcb habanalabs: Fix test build failures
allmodconfig builds on 32-bit architectures fail with the following error.

drivers/misc/habanalabs/common/memory.c: In function 'alloc_device_memory':
drivers/misc/habanalabs/common/memory.c:153:49: error:
	cast from pointer to integer of different size

Fix the typecast. While at it, drop other unnecessary typecasts associated
with the same commit.

Fixes: e8458e20e0 ("habanalabs: make sure device mem alloc is page aligned")
Cc: Ohad Sharabi <osharabi@habana.ai>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220404134859.3278599-1-linux@roeck-us.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-04 17:03:04 +02:00
..
common habanalabs: Fix test build failures 2022-04-04 17:03:04 +02:00
gaudi habanalabs: add an option to delay a device reset 2022-02-28 14:22:06 +02:00
goya habanalabs: allow user to set allocation page size 2022-02-28 14:22:05 +02:00
include Char/Misc and other driver updates for 5.18-rc1 2022-03-28 12:27:35 -07:00
Kconfig habanalabs: select CRC32 2021-10-18 12:05:47 +03:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00