Re: [U-Boot] [PATCH v3] net: Use ARRAY_SIZE at appropriate places

2013-08-19 Thread Joe Hershberger
On Tue, Jul 2, 2013 at 10:24 PM, Axel Lin wrote: > Use ARRAY_SIZE instead of having similar implementation in each drivers. > The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used > at all, so this patch removes it instead of converting it to use ARRAY_SIZE. > > Signed-off-by:

Re: [U-Boot] [PATCH v3] net: Use ARRAY_SIZE at appropriate places

2013-07-08 Thread Joe Hershberger
Hi Axel, On Tue, Jul 2, 2013 at 10:24 PM, Axel Lin wrote: > Use ARRAY_SIZE instead of having similar implementation in each drivers. > The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used > at all, so this patch removes it instead of converting it to use ARRAY_SIZE. > > Signe

[U-Boot] [PATCH v3] net: Use ARRAY_SIZE at appropriate places

2013-07-02 Thread Axel Lin
Use ARRAY_SIZE instead of having similar implementation in each drivers. The NUMELEMS defined in drivers/net/npe/include/IxOsalTypes.h is not used at all, so this patch removes it instead of converting it to use ARRAY_SIZE. Signed-off-by: Axel Lin Cc: Albert Aribaud Cc: Ben Warren Cc: Jean-Chri