diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2019-02-24 11:55:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-26 12:44:25 +0100 |
commit | e99f1683bbce050dd19f988d1f5490aea75417a4 (patch) | |
tree | fc8e4572e563be60242ee0b101fac3984a6ef7fd /drivers/hwtracing/coresight/coresight-etm4x.c | |
parent | mei: bus: move hw module get/put to probe/release (diff) | |
download | linux-dev-e99f1683bbce050dd19f988d1f5490aea75417a4.tar.xz linux-dev-e99f1683bbce050dd19f988d1f5490aea75417a4.zip |
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>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-etm4x.c')
0 files changed, 0 insertions, 0 deletions