mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
ed43d098f9
The new switch cases for RPM_CMD_RX_DONE, RPM_CMD_RX_DONE_W_REUSE, RPM_CMD_RX_INTENT_REQ_ACK, RPM_CMD_INTENT and RPM_CMD_RX_INTENT_REQ from 4 recent commits are not setting ret and so a later non-zero check on ret is testing on a garbage value in ret. Fix this by initializing ret to zero. Detected by CoverityScan CID#1455249 ("Uninitialized scalar variable") Fixes: |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
qcom_glink_native.c | ||
qcom_glink_native.h | ||
qcom_glink_rpm.c | ||
qcom_glink_smem.c | ||
qcom_smd.c | ||
rpmsg_char.c | ||
rpmsg_core.c | ||
rpmsg_internal.h | ||
virtio_rpmsg_bus.c |