]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mmc: fsl_esdhc_imx: Cannot test unsigned to be < 0
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Tue, 21 Oct 2025 16:08:26 +0000 (17:08 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 4 Dec 2025 15:38:16 +0000 (09:38 -0600)
commit42d30f9447c136d2c1f46c8a12e6058e3cddc3b6
tree19a07ed2c6e22e952dac2ae761ed83cb5f1901da
parente24a7b3b172379b50a7fa96ab4634de109c3e432
mmc: fsl_esdhc_imx: Cannot test unsigned to be < 0

Testing an unisgned member of a struct to be <= 0 will only detect the
case when it is 0. So correct this error test to a working version that
will behave as expected.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
drivers/mmc/fsl_esdhc_imx.c