1
0
Files
linux/drivers/misc
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
..
2018-08-21 23:54:18 -04:00
2019-02-11 09:05:58 +01:00
2018-09-25 20:21:02 +02:00
2019-02-18 09:46:43 +01:00
2018-04-23 13:31:27 +02:00