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

Joe Hershberger joe.hershberger at gmail.com
Mon Aug 19 19:41:48 CEST 2013


On Tue, Jul 2, 2013 at 10:24 PM, Axel Lin <axel.lin at ingics.com> 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: Axel Lin <axel.lin at ingics.com>
> Cc: Albert Aribaud <albert.u.boot at aribaud.net>
> Cc: Ben Warren <biggerbadderben at gmail.com>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: Mike Frysinger <vapier at gentoo.org>
> Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> Cc: TsiChungLiew <Tsi-Chung.Liew at freescale.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: York Sun <yorksun at freescale.com>
> ---

Applied, Thanks!
-Joe


More information about the U-Boot mailing list