commit | 1827bdc7b141859a1eb9d2d45bb923ea7252774a | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Mon Nov 21 11:59:20 2016 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Nov 22 08:13:24 2016 -0200 |
tree | 87e8b2aec48cd9fa50c23fd99a4fb7660c1ad533 | |
parent | ed1f47cc69c3f230d394e001012336877d730ea2 [diff] |
[media] vpfe_capture: fix compiler warning davinci/vpfe_capture.c: In function 'vpfe_probe': davinci/vpfe_capture.c:1992:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ This is indeed correct, so if the kmalloc fails set ret to -ENOMEM. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>