diff options
author | Jiri Pirko <jpirko@redhat.com> | 2009-05-11 19:37:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-17 14:59:47 -0400 |
commit | 3a6d54c56326c29c5357655779cfe6cf36481b17 (patch) | |
tree | 1c2f47eecebe98b8501d884cf482a8b777171cd7 /drivers/net/ibmveth.c | |
parent | 8b3521eeb7598c3b10c7e14361a7974464527702 (diff) |
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 'drivers/net/ibmveth.c')
-rw-r--r-- | drivers/net/ibmveth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c index 7902e5e16a1a..53af71aceb8a 100644 --- a/drivers/net/ibmveth.c +++ b/drivers/net/ibmveth.c | |||
@@ -1374,8 +1374,8 @@ static void ibmveth_proc_unregister_driver(void) | |||
1374 | static int ibmveth_show(struct seq_file *seq, void *v) | 1374 | static int ibmveth_show(struct seq_file *seq, void *v) |
1375 | { | 1375 | { |
1376 | struct ibmveth_adapter *adapter = seq->private; | 1376 | struct ibmveth_adapter *adapter = seq->private; |
1377 | char *current_mac = ((char*) &adapter->netdev->dev_addr); | 1377 | char *current_mac = (char *) adapter->netdev->dev_addr; |
1378 | char *firmware_mac = ((char*) &adapter->mac_addr) ; | 1378 | char *firmware_mac = (char *) &adapter->mac_addr; |
1379 | 1379 | ||
1380 | seq_printf(seq, "%s %s\n\n", ibmveth_driver_string, ibmveth_driver_version); | 1380 | seq_printf(seq, "%s %s\n\n", ibmveth_driver_string, ibmveth_driver_version); |
1381 | 1381 | ||