summaryrefslogtreecommitdiff
path: root/lib/test_fprobe.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2022-12-28 19:17:01 +0300
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2023-01-27 10:01:41 +0300
commite6cebcc27519dcf1652e604c73b9fd4f416987c0 (patch)
treed2655ba5c878e053db01edb1a5682de9de7a8c14 /lib/test_fprobe.c
parent6de4941c0215ac1ea54918ace695a28f4a5ca89b (diff)
downloadlinux-e6cebcc27519dcf1652e604c73b9fd4f416987c0.tar.xz
bus: mhi: ep: Only send -ENOTCONN status if client driver is available
For the STOP and RESET commands, only send the channel disconnect status -ENOTCONN if client driver is available. Otherwise, it will result in null pointer dereference. Cc: <stable@vger.kernel.org> # 5.19 Fixes: e827569062a8 ("bus: mhi: ep: Add support for processing command rings") Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://lore.kernel.org/r/20221228161704.255268-4-manivannan.sadhasivam@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'lib/test_fprobe.c')
0 files changed, 0 insertions, 0 deletions