diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2018-07-21 13:31:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-24 14:00:54 +0200 |
commit | 5b70084f6cbcd53f615433f9d216e01bd71de0bb (patch) | |
tree | 1f4ea5f80f1bd0f44b5bda65e3d2984667d1e568 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 24b9bdff8d0848029dba1c80b196b43e80b39463 (diff) |
staging: bcm2835-camera: handle wait_for_completion_timeout return properly
wait_for_completion_timeout returns unsigned long not int so a variable of
proper type is introduced. Further the check for <= 0 is ambiguous and
should be == 0 here indicating timeout.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions