diff options
author | Joe Perches <joe@perches.com> | 2013-10-01 22:04:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-02 17:04:45 -0400 |
commit | d458cdf712e0c671e8e819abb16ecd6e44f9daec (patch) | |
tree | ff93ce90fee219f2690a4f51f985815422664b7a /drivers/net/wireless/prism54/islpci_dev.c | |
parent | 0b3d8e087bbee2a4e3f479d538a7edd3f1d2950c (diff) |
net:drivers/net: Miscellaneous conversions to ETH_ALEN
Convert the memset/memcpy uses of 6 to ETH_ALEN
where appropriate.
Also convert some struct definitions and u8 array
declarations of [6] to ETH_ALEN.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/prism54/islpci_dev.c')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/prism54/islpci_dev.c b/drivers/net/wireless/prism54/islpci_dev.c index 5970ff6f40cc..41a16d30c79c 100644 --- a/drivers/net/wireless/prism54/islpci_dev.c +++ b/drivers/net/wireless/prism54/islpci_dev.c | |||
@@ -837,7 +837,7 @@ islpci_setup(struct pci_dev *pdev) | |||
837 | /* ndev->set_multicast_list = &islpci_set_multicast_list; */ | 837 | /* ndev->set_multicast_list = &islpci_set_multicast_list; */ |
838 | ndev->addr_len = ETH_ALEN; | 838 | ndev->addr_len = ETH_ALEN; |
839 | /* Get a non-zero dummy MAC address for nameif. Jean II */ | 839 | /* Get a non-zero dummy MAC address for nameif. Jean II */ |
840 | memcpy(ndev->dev_addr, dummy_mac, 6); | 840 | memcpy(ndev->dev_addr, dummy_mac, ETH_ALEN); |
841 | 841 | ||
842 | ndev->watchdog_timeo = ISLPCI_TX_TIMEOUT; | 842 | ndev->watchdog_timeo = ISLPCI_TX_TIMEOUT; |
843 | 843 | ||