diff options
| author | Hans Verkuil <hverkuil@xs4all.nl> | 2016-11-21 11:59:20 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-22 08:13:24 -0200 |
| commit | 1827bdc7b141859a1eb9d2d45bb923ea7252774a (patch) | |
| tree | 87e8b2aec48cd9fa50c23fd99a4fb7660c1ad533 /tools/perf/scripts/python | |
| parent | [media] media: ti-vpe: vpe: Add proper support single and multi-plane buffer (diff) | |
| download | linux-1827bdc7b141859a1eb9d2d45bb923ea7252774a.tar.gz linux-1827bdc7b141859a1eb9d2d45bb923ea7252774a.zip | |
[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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
