Home
last modified time | relevance | path

Searched hist:"79159 e7c485e16c2cccb740c3a8c01026e1710fa" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-usb.cdiff 79159e7c485e16c2cccb740c3a8c01026e1710fa Sun Feb 11 09:07:05 CST 2024 Daniil Dulov <d.dulov@aladdin.ru> media: go7007: add check of return value of go7007_read_addr()

[ Upstream commit 0b70530ee740861f4776ff724fcc25023df1799a ]

If go7007_read_addr() returns error channel is not assigned a value.
In this case go to allocfail.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 866b8695d67e ("Staging: add the go7007 video driver")
Signed-off-by: Daniil Dulov <d.dulov@aladdin.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>