]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: cast int to u32 before printing it with %u
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 12 Aug 2020 07:15:27 +0000 (10:15 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 22 Sep 2020 15:49:49 +0000 (18:49 +0300)
commit14c6bc93f00e2db06402b606334a9d5a7221a5af
tree9535c9473d724aa9152e450bf1646ea07b345d3b
parent66c7dbbdea2a630c85aa29273b8bd08d4d22c08f
habanalabs: cast int to u32 before printing it with %u

%u is used for unsigned so we need to cast the int variable to u32 to avoid
compiler warning.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/common/device.c