summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2018-07-21 15:20:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-24 14:00:54 +0200
commitb7afce51d95726a619743aaad8870db66dfa1479 (patch)
treed79077f81b5c94d7157ce6944224ff9b9d9a64ff /tools/perf/scripts/python/export-to-postgresql.py
parent1ef5c96081d849a00dc973733cde3b595fc38442 (diff)
staging: bcm2835-camera: fix timeout handling in wait_for_completion_timeout
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 which is the only error case so no additional check needed here. 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