OSDN Git Service

media: zr364xx: propagate errors from zr364xx_start_readpipe()
authorEvgeny Novikov <novikov@ispras.ru>
Tue, 6 Oct 2020 17:21:22 +0000 (19:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:09 +0000 (10:31 +0100)
commitaf0321a5be3e5647441eb6b79355beaa592df97a
tree672848b3b780246450eedccb4feeb8e0b5745332
parent1671d4ea7794495ad52599932f8821e81530dace
media: zr364xx: propagate errors from zr364xx_start_readpipe()

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>
drivers/media/usb/zr364xx/zr364xx.c