[PATCH] mmc: iproc_sdhci: Cannot test unsigned variable for negative
Peng Fan (OSS)
peng.fan at oss.nxp.com
Mon Sep 1 09:44:05 CEST 2025
From: Peng Fan <peng.fan at nxp.com>
On Wed, 30 Jul 2025 17:52:56 +0100, Andrew Goodbody wrote:
> In sdhci_iproc_execute_tuning the variable tuning_loop_counter is
> unsigned and therefore will always fail the test for it being less than
> 0. Fix this by changing the variable type to be s8.
>
> This issue was found by Smatch.
>
>
> [...]
Applied, thanks!
[1/1] mmc: iproc_sdhci: Cannot test unsigned variable for negative
commit: 95994d4e5996610c8205597b2849b48eaaf2baff
Best regards,
--
Peng Fan <peng.fan at nxp.com>
More information about the U-Boot
mailing list