Files
u-boot/drivers
Andrew Goodbody 6defecd943 ufs: ti-j721e: Correct error detection
In ti_j721e_ufs_probe there is a call to clk_get_rate but the code after
that attempts to detect an error from that call incorrectly uses
IS_ERR_VALUE.  Instead the test should just be for regular error codes.
The call returns an unsigned long so that needs to be cast to a signed type
first of all.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Anshul Dalal <anshuld@ti.com>
Link: https://patch.msgid.link/20251007-ufs_ti-v2-1-501f575b6947@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2025-10-28 17:10:01 +01:00
..
2025-04-11 12:16:44 -06:00
2025-08-26 07:30:09 +02:00
2025-06-02 17:26:16 -06:00
2025-10-17 08:58:10 -06:00
2025-08-27 15:49:59 +08:00
2025-08-25 13:28:49 -06:00
2025-08-14 10:58:46 -06:00
2025-10-14 10:42:27 +03:00
2025-10-06 13:20:24 -06:00