Re: [PATCH] net: systemport: Use eth_hw_addr_random

From: David Miller
Date: Thu Jul 09 2015 - 17:51:53 EST


From: Vaishali Thakkar <vthakkar1994@xxxxxxxxx>
Date: Wed, 8 Jul 2015 10:49:30 +0530

> Use eth_hw_addr_random() instead of calling random_ether_addr().
> Here, this change is setting addr_assign_type to NET_ADDR_RANDOM.
>
> The Coccinelle semantic patch that performs this transformation
> is as follows:
>
> @@
> identifier a,b;
> @@
>
> -random_ether_addr(a->b);
> +eth_hw_addr_random(a);
>
> Signed-off-by: Vaishali Thakkar <vthakkar1994@xxxxxxxxx>

Applied, thanks.
--
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/