summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-03 15:40:46 +0100
committerTom Rini <[email protected]>2025-10-28 10:32:59 -0600
commit644b4650ee57c429bede77f44752cc867dac0e00 (patch)
tree2e4dfb28f0d78ee58fa48b9f002317ec84a6c940 /include/linux/string.h
parentbf09c6abfc834f6c6df3c86fe40f36be1e209eb7 (diff)
clk: Return value calculated by ERR_PTR
In clk_set_default_get_by_id ret 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 found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Acked-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions