diff options
| author | Nicholas Mc Guire <[email protected]> | 2015-06-10 04:40:02 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-11-18 12:21:29 -0200 |
| commit | 4bdbcb3197fb1d6c493e2fe50b54bc91c6999924 (patch) | |
| tree | 327a926e5843f1361c33ddccbec5ac09232d4888 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 217bdb0741ff4f2db8a1d52b967101702e8694c1 (diff) | |
[media] ddbridge: fix wait_event_timeout return handling
API conformance testing for completions with coccinelle spatches are being
used to locate API usage inconsistencies:
./drivers/media/pci/ddbridge/ddbridge-core.c:89
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..
As stat is used here exclusively its type is simply changed and the
negative return check dropped.
Signed-off-by: Nicholas Mc Guire <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions