uapi: Convert some uses of 6 to ETH_ALEN
Use the #define where appropriate. Add #include <linux/if_ether.h> where appropriate too. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bd3f543325
commit
e216975ad9
6 changed files with 12 additions and 8 deletions
|
@ -60,7 +60,7 @@
|
|||
|
||||
struct virtio_net_config {
|
||||
/* The config defining mac address (if VIRTIO_NET_F_MAC) */
|
||||
__u8 mac[6];
|
||||
__u8 mac[ETH_ALEN];
|
||||
/* See VIRTIO_NET_F_STATUS and VIRTIO_NET_S_* above */
|
||||
__u16 status;
|
||||
/* Maximum number of each of transmit and receive queues;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue