[Intel-wired-lan] [PATCH] igb: use eth_zero_addr() to clear mac address

Brown, Aaron F aaron.f.brown at intel.com
Thu Jul 30 18:10:58 UTC 2020


> From: linmiaohe <linmiaohe at huawei.com>
> Sent: Monday, July 20, 2020 1:29 AM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher at intel.com>; davem at davemloft.net;
> kuba at kernel.org
> Cc: intel-wired-lan at lists.osuosl.org; netdev at vger.kernel.org; linux-
> kernel at vger.kernel.org; linmiaohe at huawei.com
> Subject: [PATCH] igb: use eth_zero_addr() to clear mac address
> 
> From: Miaohe Lin <linmiaohe at huawei.com>
> 
> Use eth_zero_addr() to clear mac address insetad of memset().
> 
> Signed-off-by: Miaohe Lin <linmiaohe at huawei.com>
> ---
>  drivers/net/ethernet/intel/igb/igb_main.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
Tested-by: Aaron Brown <aaron.f.brown at intel.com>


More information about the Intel-wired-lan mailing list