summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-06-10 06:02:03 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 06:23:35 -0300
commit4f50efadcb9710876c6d02f60931e5fcc896ddaf (patch)
tree42fe6c46df1ada72cbdde9e23fb44fdf9cf37504 /tools/perf/scripts/python/netdev-times.py
parent264d1cf86c9f801339d272c3067d98eef91611a0 (diff)
[media] s5p-tv: fix wait_event_timeout return handling
event API conformance testing with coccinelle spatches are being used to locate API usage inconsistencies this triggert with: ./drivers/media/platform/s5p-tv/mixer_reg.c:364 incorrect check for negative return Return type of wait_event_timeout is signed long not int and the return type is >=0 always thus the negative check is unnecessary. An appropriately named variable of type long is inserted and the call fixed up aswell as the negative return check dropped. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions