[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150709.145136.29434262043413419.davem@davemloft.net>
Date: Thu, 09 Jul 2015 14:51:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vthakkar1994@...il.com
Cc: f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: systemport: Use eth_hw_addr_random
From: Vaishali Thakkar <vthakkar1994@...il.com>
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@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists