On Tue Oct 7, 2025 at 5:12 PM IST, Andrew Goodbody wrote:
> 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 <[email protected]>

Reviewed-by: Anshul Dalal <[email protected]>

Regards,
Anshul

Reply via email to