summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-08-12 11:26:06 +0100
committerTom Rini <[email protected]>2025-08-21 10:02:40 -0600
commit2b751d42c35c36f7e3739d7bc7064f014e1263c7 (patch)
tree4548cddbc629b1aaa7dbe36431f850f2b6c1af25 /scripts/const_structs.checkpatch
parentb436af06419adee8e63f4ee4482fba561831d25d (diff)
sound: maxim_codec: Fix coding mistake
In maxim_i2c_read the code mistakenly just returned the return value from dm_i2c_read leaving the following code unreachable. Instead assign ret to be the return value from dm_i2c_read so that the following code can operate as expected. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions