summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_l3.h
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>2017-12-20 20:11:01 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-20 21:23:45 +0100
commit99f0b85d5f5a965648dea2be61511368e9152439 (patch)
tree0092aa278e8d417106df2e941479683db7030d4a /drivers/s390/net/qeth_l3.h
parents390/qeth: consolidate qeth MAC address helpers (diff)
downloadlinux-99f0b85d5f5a965648dea2be61511368e9152439.tar.xz
linux-99f0b85d5f5a965648dea2be61511368e9152439.zip
s390/qeth: use ether_addr_* helpers
Be a little more self-documenting, and get rid of OSA_ADDR_LEN. Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_l3.h')
-rw-r--r--drivers/s390/net/qeth_l3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3.h b/drivers/s390/net/qeth_l3.h
index e5833837b799..071c00841208 100644
--- a/drivers/s390/net/qeth_l3.h
+++ b/drivers/s390/net/qeth_l3.h
@@ -29,7 +29,7 @@ struct qeth_ipaddr {
*/
int ref_counter;
enum qeth_prot_versions proto;
- unsigned char mac[OSA_ADDR_LEN];
+ unsigned char mac[ETH_ALEN];
union {
struct {
unsigned int addr;