summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2021-03-06 16:36:24 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-04-09 19:08:42 +0300
commit26594c6bbb60c6bc87e3762a86ceece57d164c66 (patch)
tree1c216ffa6b39701431e2339715c73b55437c50ff /include
parent964e8bedd5a13a662e8e418ed763351c07d0dac7 (diff)
downloadlinux-26594c6bbb60c6bc87e3762a86ceece57d164c66.tar.xz
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: 64f95f87920d ("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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions