Re: [RFC PATCH 06/17] phy_driver: Add and usephy_driver_[un]register_multiple()

From: Grant Likely
Date: Tue Oct 25 2011 - 01:00:10 EST

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

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

Indeed, I like the diffstat. :-)

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at