aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-04-07 06:41:14 -0300
committerMauro Carvalho Chehab <[email protected]>2010-05-06 19:20:52 -0300
commit981cbef2c30ee82d6011bb2ef50461f6a074de71 (patch)
treec3b5ca41ec470b406005d412865963975c54fd91 /tools/perf/util/trace-event-scripting.c
parentb7d41d6d580743b1fed1b9560d948c9ef58564bd (diff)
V4L/DVB: video: testing unsigned for less than 0
soc_mbus_bytes_per_line() returns -EINVAL on error but we store it in an unsigned int so the test for less than zero doesn't work. I think it always returns "small" positive values so we can just cast it to int here. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions