[Intel-wired-lan] [PATCH] net: drivers/net: Convert random_ether_addr to eth_random_addr
Jeff Kirsher
jeffrey.t.kirsher at intel.com
Fri Jun 22 21:30:43 UTC 2018
On Fri, 2018-06-22 at 10:51 -0700, Joe Perches wrote:
> random_ether_addr is a #define for eth_random_addr which is
> generally preferred in kernel code by ~3:1
>
> Convert the uses of random_ether_addr to enable removing the #define
>
> Miscellanea:
>
> o Convert &vfmac[0] to equivalent vfmac and avoid unnecessary line
> wrap
>
> Signed-off-by: Joe Perches <joe at perches.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
For i40e change
> ---
> drivers/net/ethernet/cavium/liquidio/lio_main.c | 5 ++---
> drivers/net/ethernet/cortina/gemini.c | 2 +-
> drivers/net/ethernet/hisilicon/hip04_eth.c | 2 +-
> drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-
> drivers/net/ethernet/microchip/lan743x_main.c | 2 +-
> drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 2 +-
> drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c | 2 +-
> drivers/net/ethernet/sfc/ef10_sriov.c | 2 +-
> drivers/net/ethernet/ti/cpsw.c | 2 +-
> drivers/net/ethernet/ti/netcp_core.c | 4 ++--
> drivers/net/ntb_netdev.c | 2 +-
> drivers/net/usb/lan78xx.c | 2 +-
> drivers/net/wireless/ath/ath9k/hw.c | 2 +-
> net/batman-adv/bridge_loop_avoidance.c | 2 +-
> 14 files changed, 16 insertions(+), 17 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20180622/48cc24a3/attachment.asc>
More information about the Intel-wired-lan
mailing list