summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-23 16:54:07 +0100
committerTom Rini <[email protected]>2025-10-28 09:48:27 -0600
commit6f48f6f2a2df05bd7663917b694a4d881998f6c5 (patch)
tree16dc84d39d8470f6de34b9831bef18a7abf6483a /include/linux
parentbd0ade7d090a334b3986936d63a34001d99722ad (diff)
clk: versaclock: return value calculated by ERR_PTR
In versaclock_get_name -ENOMEM is passed to ERR_PTR but nothing is done with the value that this calculates which is obviously not the intention of the code. This is confirmed by the code around where this function is called. Instead return the value from ERR_PTR. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions