]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: mmc: Change datatype of tuning_loop_counter to int
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>
Fri, 20 Jan 2023 05:36:17 +0000 (22:36 -0700)
committerMichal Simek <michal.simek@amd.com>
Fri, 27 Jan 2023 07:42:47 +0000 (08:42 +0100)
commit4742fe9937458d35be1f221e57d4ca5e0b4d2003
treea683c6186e68a9af993918387658354584db0aab
parent33114595d9e31f352378e80a5bd688ae6804de3a
drivers: mmc: Change datatype of tuning_loop_counter to int

tuning_loop_counter is of char type, which is not capable of handling
the entire data range of this variable. This is pointed by below sparse
warning. Change datatype to int to fix this.
warning: comparison is always false due to limited range of data type.

Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
Link: https://lore.kernel.org/r/20230120053617.32463-5-ashok.reddy.soma@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/mmc/zynq_sdhci.c