summaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-08-18 09:48:00 +0100
committerJonathan Cameron <jic23@kernel.org>2012-08-27 19:00:51 +0100
commit50d4b3062d6d4f165c76854a7644b1502836f9b9 (patch)
treebe3054fcd1be653399d24583a6a219b08fdf9113 /scripts/patch-kernel
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 <dan.carpenter@oracle.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions