summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorPhil Reid <preid@electromag.com.au>2016-06-27 06:17:56 +0300
committerJonathan Cameron <jic23@kernel.org>2016-06-27 23:06:40 +0300
commit29e3e06d893105febb9c9ccaff856fcdcbe3f712 (patch)
tree6c4056d7eb63d815ae274afdd9f59e483ee0ac7d /fs
parentc48c7b2e470ede9bfae2bff3ab8ba1fe5e832f64 (diff)
downloadlinux-29e3e06d893105febb9c9ccaff856fcdcbe3f712.tar.xz
iio: buffer-dma: Use ARRAY_SIZE in for loop range
Use the ARRAY_SIZE macro in the for loops that access queue->fileio.blocks. Macro is already used in a couple of places where this access occurs, but range was hardcoded in these locations. Signed-off-by: Phil Reid <preid@electromag.com.au> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions