Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: pci: cx23885: replace BUG with error return
[ Upstream commit 2e1796f ] It was completely unnecessary to use BUG in buffer_prepare(). Just replace it with an error return. This also fixes a smatch warning: drivers/media/pci/cx23885/cx23885-video.c:422 buffer_prepare() error: uninitialized symbol 'ret'. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information