Re: [PATCH v2 1/1] staging: lustre: libcfs: nidstrings.c - use ARRAY_SIZE macro

From: Greg KH
Date: Tue Jul 08 2014 - 19:44:08 EST


On Wed, Jul 02, 2014 at 04:23:55PM +0530, Anil Belur wrote:
> From: Anil Belur <askb23@xxxxxxxxx>
>
> - 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@xxxxxxxxx>

Someone sent this same patch just before you did, sorry :(

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/