]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
igb: use eth_zero_addr() to clear mac address
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 20 Jul 2020 08:29:14 +0000 (16:29 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 30 Jul 2020 18:41:45 +0000 (11:41 -0700)
commit8698fb64cc77bf103ab582970965ae851f5f4d72
tree4b62107751771995a06d1f6edeade96dd706a12f
parent935f73bd51de35fa01f39098e970ecf4405b8593
igb: use eth_zero_addr() to clear mac address

Use eth_zero_addr() to clear mac address instead of memset().

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c