WSL2-Linux-Kernel/drivers/rpmsg
Jia-Ju Bai 26594c6bbb rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
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>
2021-04-09 11:08:42 -05:00
..
Kconfig rpmsg: Turn name service into a stand alone driver 2020-11-24 10:11:59 -06:00
Makefile rpmsg: Turn name service into a stand alone driver 2020-11-24 10:11:59 -06: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-04-09 11:08:42 -05:00
qcom_glink_native.h
qcom_glink_rpm.c
qcom_glink_smem.c
qcom_glink_ssr.c rpmsg: glink: add include of header file 2021-01-05 22:22:40 -06:00
qcom_smd.c rpmsg: char: Use rpmsg_sendto to specify the message destination address 2021-03-17 14:16:36 -05:00
rpmsg_char.c rpmsg: char: Return an error if device already open 2021-03-17 14:16:58 -05:00
rpmsg_core.c rpmsg: core: Add channel creation internal API 2020-11-24 10:11:35 -06:00
rpmsg_internal.h rpmsg: Make rpmsg_{register|unregister}_device() public 2020-11-24 10:11:52 -06:00
rpmsg_ns.c rpmsg: Turn name service into a stand alone driver 2020-11-24 10:11:59 -06:00
virtio_rpmsg_bus.c rpmsg: virtio: Register the rpmsg_char device 2021-03-17 14:16:47 -05:00