2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/misc/habanalabs
Oded Gabbay e99f1683bb habanalabs: use u64 when comparing variables' sum to u32_max
This patch fixes two smatch warnings about two if statements that are
always true because of the types of the variables used - u32 when
comparing the sum to u32_max.

The patch changes the types to be u64 so the accumalted sum can be checked
if it is larger than u32_max

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-26 12:44:25 +01:00
..
goya habanalabs: use u64 when comparing variables' sum to u32_max 2019-02-26 12:44:25 +01:00
include habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
asid.c habanalabs: add context and ASID modules 2019-02-18 09:46:44 +01:00
command_buffer.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
command_submission.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
context.c habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
debugfs.c habanalabs: return error when failing to read/write i2c 2019-02-26 11:35:03 +01:00
device.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
habanalabs_drv.c habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
habanalabs_ioctl.c habanalabs: implement INFO IOCTL 2019-02-18 09:46:46 +01:00
habanalabs.h habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
hw_queue.c habanalabs: add command submission module 2019-02-18 09:46:45 +01:00
hwmon.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00
irq.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00
Kconfig habanalabs: driver's Kconfig must select DMA_SHARED_BUFFER 2019-02-23 10:18:13 +01:00
Makefile habanalabs: add debugfs support 2019-02-18 09:46:46 +01:00
memory.c habanalabs: use GFP_ATOMIC under spin lock 2019-02-22 08:45:40 +01:00
mmu.c habanalabs: add virtual memory and MMU modules 2019-02-18 09:46:46 +01:00
sysfs.c habanalabs: add device reset support 2019-02-18 09:46:45 +01:00