diff options
author | Jiri Pirko <jpirko@redhat.com> | 2009-05-11 23:37:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-17 11:59:47 -0700 |
commit | 3a6d54c56326c29c5357655779cfe6cf36481b17 (patch) | |
tree | 1c2f47eecebe98b8501d884cf482a8b777171cd7 /net/tipc | |
parent | 8b3521eeb7598c3b10c7e14361a7974464527702 (diff) | |
download | linux-3.10-3a6d54c56326c29c5357655779cfe6cf36481b17.tar.gz linux-3.10-3a6d54c56326c29c5357655779cfe6cf36481b17.tar.bz2 linux-3.10-3a6d54c56326c29c5357655779cfe6cf36481b17.zip |
net: remove needless (now buggy) & from dev->dev_addr
Patch fixes issues with dev->dev_addr changing from array to pointer.
Hopefully there are no others.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/eth_media.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/eth_media.c b/net/tipc/eth_media.c index f72ba774c24..524ba5696d4 100644 --- a/net/tipc/eth_media.c +++ b/net/tipc/eth_media.c @@ -167,7 +167,7 @@ static int enable_bearer(struct tipc_bearer *tb_ptr) tb_ptr->mtu = dev->mtu; tb_ptr->blocked = 0; tb_ptr->addr.type = htonl(TIPC_MEDIA_TYPE_ETH); - memcpy(&tb_ptr->addr.dev_addr, &dev->dev_addr, ETH_ALEN); + memcpy(&tb_ptr->addr.dev_addr, dev->dev_addr, ETH_ALEN); return 0; } |