aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2016-11-21 11:59:20 -0200
committerMauro Carvalho Chehab <[email protected]>2016-11-22 08:13:24 -0200
commit1827bdc7b141859a1eb9d2d45bb923ea7252774a (patch)
tree87e8b2aec48cd9fa50c23fd99a4fb7660c1ad533 /tools/perf/scripts/python
parented1f47cc69c3f230d394e001012336877d730ea2 (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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions