Messages in this thread | | | Date | Fri, 02 Mar 2007 20:17:16 -0500 | From | Jeff Garzik <> | Subject | Re: [PATCH 1/2] mv643xx_eth: move mac_addr inside mv643xx_eth_platform_data |
| |
Dale Farnsworth wrote: > The information contained within platform_data should be self-contained. > Replace the pointer to a MAC address with the actual MAC address in > struct mv643xx_eth_platform_data. > > Signed-off-by: Dale Farnsworth <dale@farnsworth.org> > > --- > > Replaced explicit mac address comparison with a call to is_valid_ether_addr(), > as suggested by Stephen Hemminger <shemminger@linux-foundation.org>. > > arch/mips/momentum/jaguar_atx/platform.c | 20 ++++---------------- > arch/mips/momentum/ocelot_3/platform.c | 20 ++++---------------- > arch/mips/momentum/ocelot_c/platform.c | 12 ++---------- > drivers/net/mv643xx_eth.c | 2 +- > include/linux/mv643xx.h | 2 +- > 5 files changed, 12 insertions(+), 44 deletions(-)
applied
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |