summaryrefslogtreecommitdiff
path: root/scripts/env2string.awk
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-08-11 17:25:17 +0100
committerPeng Fan <[email protected]>2025-08-27 15:52:20 +0800
commit4d3183723f34d58cb5decec77e8bf64b84d309d1 (patch)
tree2f2a935d8dca61b3e0c4c7439b0c6c28ba487384 /scripts/env2string.awk
parentdc37adfc040877db359abdc7eab19adffb8fc722 (diff)
serial: lpuart: Return value from correct variable
In get_lpuart_clk_rate if the call to clk_get_rate returns an error then the call to return should pass the value of the error which is in rate rather than ret which will be 0 as its value is not affected by this error. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'scripts/env2string.awk')
0 files changed, 0 insertions, 0 deletions