diff options
author | Vaishali Thakkar <[email protected]> | 2015-07-08 10:49:30 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-07-09 14:51:15 -0700 |
commit | adb3505086def6d3e37013ec6cf8313cc719cbb6 (patch) | |
tree | 077b78dd94078882951e843c5cae593e93d2b773 /lib/timerqueue.c | |
parent | d5de1987853a7778bb048a9e52b3486eb9aceb17 (diff) |
net: systemport: Use eth_hw_addr_random
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 <[email protected]>
Tested-by: Florian Fainelli <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions