aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-08-18 09:48:00 +0100
committerJonathan Cameron <[email protected]>2012-08-27 19:00:51 +0100
commit50d4b3062d6d4f165c76854a7644b1502836f9b9 (patch)
treebe3054fcd1be653399d24583a6a219b08fdf9113 /tools/perf/util/trace-event-scripting.c
parent95d1c8c7e26e303ccab5b65fe0ce04f70f42ea8a (diff)
staging:iio: prevent divide by zero bugs
"val" is used as a divisor later, so we should check for zero here to avoid a division by zero. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions