diff options
| author | Andrew Goodbody <[email protected]> | 2025-10-07 12:42:12 +0100 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2025-10-28 17:10:01 +0100 |
| commit | 6defecd943e92e4341cfa088ef4f4cc19ff2db8b (patch) | |
| tree | 2d04ed8b68c5d5485654724bc8478e1170ad8d90 /scripts/objdiff | |
| parent | 23987e10905146def3ab61e55ec912c6e742efdc (diff) | |
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 <[email protected]>
Reviewed-by: Anshul Dalal <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
