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 /drivers/net/ibmveth.c | |
parent | 8b3521eeb7598c3b10c7e14361a7974464527702 (diff) | |
download | lwn-3a6d54c56326c29c5357655779cfe6cf36481b17.tar.gz lwn-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 '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) static int ibmveth_show(struct seq_file *seq, void *v) { struct ibmveth_adapter *adapter = seq->private; - char *current_mac = ((char*) &adapter->netdev->dev_addr); - char *firmware_mac = ((char*) &adapter->mac_addr) ; + char *current_mac = (char *) adapter->netdev->dev_addr; + char *firmware_mac = (char *) &adapter->mac_addr; seq_printf(seq, "%s %s\n\n", ibmveth_driver_string, ibmveth_driver_version); |