aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2014-01-18 06:06:01 -0300
committerMauro Carvalho Chehab <[email protected]>2014-07-17 11:57:20 -0300
commitc336f75e1e822658122b96d874da01f5f4df994d (patch)
tree1e4dbbb6a4b1b4488c09aa04a6162ec35448c6ed /tools/perf/scripts/python/netdev-times.py
parent302ab7ce2daba8cdd82a6809adb42d117a683f06 (diff)
[media] v4l2-ctrls: return elem_size instead of strlen
When getting a string and the size given by the application is too short return the max length the string can have (elem_size) instead of the string length + 1. That makes more sense. Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions