aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-04-23 17:22:05 +0000
committerBjorn Andersson <[email protected]>2025-05-21 02:46:10 +0000
commit5de775df3362090a6e90046d1f2d83fe62489aa0 (patch)
tree98e324f79e0061d0874270fc73462f3caeec5158 /rust/helpers/mutex.c
parentrpmsg: qcom_smd: Improve error handling for qcom_smd_parse_edge (diff)
downloadkernel-5de775df3362090a6e90046d1f2d83fe62489aa0.tar.gz
kernel-5de775df3362090a6e90046d1f2d83fe62489aa0.zip
rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send()
The "ret" variable isn't initialized if we don't enter the loop. For example, if "channel->state" is not SMD_CHANNEL_OPENED. Fixes: 33e3820dda88 ("rpmsg: smd: Use spinlock in tx path") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions