lkml.org 
[lkml]   [2011]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 06/17] phy_driver: Add and use phy_driver_[un]register_multiple()
On Thu, Oct 20, 2011 at 05:15:54PM -0400, Mike Frysinger wrote:
> On Thursday 20 October 2011 17:00:13 Kyle Moffett wrote:
> > + return phy_driver_register_multiple(bcm63xx_drivers,
> > + ARRAY_SIZE(bcm63xx_drivers));
>
> if only the arm ARRAY_AND_SIZE() macro could gain traction in the wider tree:
> return phy_driver_register_multiple(ARRAY_AND_SIZE(bcm63xx_drivers));

Propose a patch to move it from arch/arm to include/linux/kernel.h.
This is the first I've heard of this macro, but I would probably use
it.

> ignoring that, this patch looks cool
>
> Acked-by: Mike Frysinger <vapier@gentoo.org>

Indeed, I like the diffstat. :-)

Acked-by: Grant Likely <grant.likely@secretlab.ca>





\
 
 \ /
  Last update: 2011-10-25 07:03    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site