Re: [PATCH 1/1] iio: buffer-dma: Use ARRAY_SIZE in for loop range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/27/2016 05:17 AM, Phil Reid wrote:
> 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@xxxxxxxxxxxxxxxxx>

Looks good, thanks.

Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux