aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorVipin Kumar <[email protected]>2012-07-02 11:28:47 +0530
committerDavid Woodhouse <[email protected]>2012-07-06 18:27:48 +0100
commit2c99b8bfb22342ab0c06e07ee54fa0d5e638e52a (patch)
tree63ae3cdccac97eb94433be9b865b297da3d55fba /tools/perf/scripts/python/netdev-times.py
parent4dc48c37d1ce968b5ade7d1646927199ee536129 (diff)
mtd: spear_smi: handle return value of timeouts properly
Handle timouts in general and return value of 'wait_event_interruptible_timeout' in particular, to capture all conditions. 'wait_event_interruptible_timeout' returns either of the following three values :- * 0 - time out occurred. * negative * -ERESTARTSYS - return because of a signal * other - for a real error * positive - time remaining Fix particularly 'ERESTARTSYS' condition which is not properly handled by the smi driver at a couple of places leading to an erroneous situation. Signed-off-by: Antonio BORNEO <[email protected]> Signed-off-by: Shiraz Hashim <[email protected]> Signed-off-by: Vipin Kumar <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions