]> 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)
commit02ead9a5b07c329d00f30067958284086e470509
treec3094c83d7c6ec3d3711ba134d16220de2222e69
parent10ab67cf78228899408e3c1e4f107f3d24d5dd5d
media: zr364xx: propagate errors from zr364xx_start_readpipe()

[ Upstream commit 903797be74e8c585e0966af590068347a2ca7a32 ]

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