]> git.baikalelectronics.ru Git - kernel.git/commit
media: zr364xx: propagate errors from zr364xx_start_readpipe()
authorEvgeny Novikov <novikov@ispras.ru>
Tue, 6 Oct 2020 17:21:22 +0000 (19:21 +0200)
committerSasha Levin <sashal@kernel.org>
Thu, 26 Aug 2021 12:36:12 +0000 (08:36 -0400)
commitbdb26010ff74f62a4f1be451e6f9cc315bd2b759
treec3094c83d7c6ec3d3711ba134d16220de2222e69
parent567190aa704b0d548f029c29017a70ff1cdfd036
media: zr364xx: propagate errors from zr364xx_start_readpipe()

[ Upstream commit af0321a5be3e5647441eb6b79355beaa592df97a ]

zr364xx_start_readpipe() can fail but callers do not care about that.
This can result in various negative consequences. The patch adds missed
error handling.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/usb/zr364xx/zr364xx.c