kernel_optimize_test/drivers/rpmsg
Jia-Ju Bai 0627cbc9b8 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
[ Upstream commit 26594c6bbb60c6bc87e3762a86ceece57d164c66 ]

When idr_find() returns NULL to intent, no error return code of
qcom_glink_rx_data() is assigned.
To fix this bug, ret is assigned with -ENOENT in this case.

Fixes: 64f95f8792 ("rpmsg: glink: Use the local intents when receiving data")
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Link: https://lore.kernel.org/r/20210306133624.17237-1-baijiaju1990@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:13:02 +02:00
..
Kconfig rpmsg: glink: Integrate glink_ssr in qcom_glink 2020-05-07 11:04:38 -07:00
Makefile rpmsg: glink: Integrate glink_ssr in qcom_glink 2020-05-07 11:04:38 -07:00
mtk_rpmsg.c rpmsg: Avoid double-free in mtk_rpmsg_register_device 2020-09-15 03:43:24 +00:00
qcom_glink_native.c rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data() 2021-05-19 10:13:02 +02:00
qcom_glink_native.h
qcom_glink_rpm.c
qcom_glink_smem.c
qcom_glink_ssr.c rpmsg: glink: Integrate glink_ssr in qcom_glink 2020-05-07 11:04:38 -07:00
qcom_smd.c rpmsg: smd: Fix a kobj leak in in qcom_smd_parse_edge() 2020-09-15 03:41:37 +00:00
rpmsg_char.c
rpmsg_core.c rpmsg: Guard against null endpoint ops in destroy 2020-09-15 03:51:03 +00:00
rpmsg_internal.h
virtio_rpmsg_bus.c rpmsg: virtio: fix compilation warning for virtio_rpmsg_channel description 2020-09-15 03:48:12 +00:00