[PATCH v2 1/1] staging: lustre: libcfs: nidstrings.c - use ARRAY_SIZE macro
Greg KH
gregkh at linuxfoundation.org
Tue Jul 8 23:48:24 UTC 2014
On Wed, Jul 02, 2014 at 04:23:55PM +0530, Anil Belur wrote:
> From: Anil Belur <askb23 at gmail.com>
>
> - this patch replaces sizeof(a)/sizeof(a[0]) with the ARRAY_SIZE macro
> to get the number of nidstrings (and netstrfns)
> - v2: also for netstrfns
>
> Signed-off-by: Anil Belur <askb23 at gmail.com>
Someone sent this same patch just before you did, sorry :(
More information about the devel
mailing list