summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2018-11-24 00:56:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-20 12:08:58 +0300
commit901adf68e568b464a7d4bb3c91a814c796efc58c (patch)
tree1dae001efcd4898fe102f3f78050144a4ac47c2c /security
parenta19ea93f42e61b3bd8b0ef978c8a563ba25d49cd (diff)
downloadlinux-901adf68e568b464a7d4bb3c91a814c796efc58c.tar.xz
media: DaVinci-VPBE: fix error handling in vpbe_initialize()
[ Upstream commit aa35dc3c71950e3fec3e230c06c27c0fbd0067f8 ] If vpbe_set_default_output() or vpbe_set_default_mode() fails, vpbe_initialize() returns error code without releasing resources. The patch adds error handling for that case. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions