f99bc332c7
We cannot cast a 64-bit integer to a pointer on 32-bit architectures
without a warning:
drivers/misc/habanalabs/habanalabs_ioctl.c: In function 'debug_coresight':
drivers/misc/habanalabs/habanalabs_ioctl.c:143:23: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
input = memdup_user((const void __user *) args->input_ptr,
Use the macro that was defined for this purpose.
Fixes:
|
||
---|---|---|
.. | ||
goya | ||
include | ||
Kconfig | ||
Makefile | ||
asid.c | ||
command_buffer.c | ||
command_submission.c | ||
context.c | ||
debugfs.c | ||
device.c | ||
firmware_if.c | ||
habanalabs.h | ||
habanalabs_drv.c | ||
habanalabs_ioctl.c | ||
hw_queue.c | ||
hwmon.c | ||
irq.c | ||
memory.c | ||
mmu.c | ||
pci.c | ||
sysfs.c |