Re: [PATCH v2 2/2] adi: adapt to eth_hw_addr_random() and changesin arch/blackfin

From: David Miller
Date: Sun Feb 19 2012 - 19:06:29 EST


From: Danny Kukawka <danny.kukawka@xxxxxxxxx>
Date: Thu, 16 Feb 2012 18:09:31 +0100

> Adapt adi ethernet driver to changes in bfin_get_ether_addr()
> from arch/blackfin. bfin_get_ether_addr() returns now a state.
> Set a random mac address via new eth_hw_addr_random() in case
> the return value is not 0.
>
> Reset the state to NET_ADDR_PERM as soon as the MAC get
> changed via .ndo_set_mac_address.
>
> v2: change the logic to reduce unneeded checks
>
> Signed-off-by: Danny Kukawka <danny.kukawka@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/