|
@@ -6,6 +6,7 @@
|
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
|
* by the Free Software Foundation, incorporated herein by reference.
|
|
|
*/
|
|
|
+#include <linux/etherdevice.h>
|
|
|
#include <linux/pci.h>
|
|
|
#include <linux/module.h>
|
|
|
#include "net_driver.h"
|
|
@@ -554,7 +555,7 @@ int efx_ef10_sriov_set_vf_mac(struct efx_nic *efx, int vf_i, u8 *mac)
|
|
|
return 0;
|
|
|
|
|
|
fail:
|
|
|
- memset(vf->mac, 0, ETH_ALEN);
|
|
|
+ eth_zero_addr(vf->mac);
|
|
|
return rc;
|
|
|
}
|
|
|
|