> diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c > index ed8a3d4..5471cd2 100644 > --- a/net/ethernet/eth.c > +++ b/net/ethernet/eth.c > @@ -298,6 +298,14 @@ static int eth_change_mtu(struct net_device *dev, int > new_mtu) > return 0; > } > > +static int eth_validate_addr(struct net_device *dev) > +{ > + if (!is_valid_ether_addr(dev->dev_addr)) > + return -EINVAL; > + > + return 0; > +}
Shouldn't this be "const struct net_device *dev" - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html