Anton Blanchard
d746ca9561
ibmveth: Fix endian issues with MAC addresses
...
The code to load a MAC address into a u64 for passing to the
hypervisor via a register is broken on little endian.
Create a helper function called ibmveth_encode_mac_addr
which does the right thing in both big and little endian.
We were storing the MAC address in a long in struct ibmveth_adapter.
It's never used so remove it - we don't need another place in the
driver where we create endian issues with MAC addresses.
Signed-off-by: Anton Blanchard <anton@samba.org >
Cc: stable@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-03-06 16:26:41 -05:00
..
2014-02-09 19:06:14 -08:00
2014-01-26 22:40:43 -08:00
2014-01-16 11:53:26 -08:00
2014-02-06 19:46:54 -08:00
2014-01-16 11:53:26 -08:00
2014-01-25 11:17:34 -08:00
2014-01-06 17:37:45 -05:00
2014-02-10 17:50:35 -08:00
2014-03-02 19:05:25 -05:00
2014-02-28 17:17:38 -05:00
2014-03-05 20:40:25 -05:00
2014-01-16 11:53:26 -08:00
2014-02-25 18:35:13 -05:00
2014-01-16 11:53:26 -08:00
2013-12-31 16:48:31 -05:00
2014-01-16 16:22:53 -08:00
2014-02-17 00:19:24 -05:00
2014-01-16 11:53:26 -08:00
2014-03-03 15:48:11 -05:00
2014-01-17 18:54:13 -08:00
2014-02-20 13:16:13 -05:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2014-03-06 16:26:41 -05:00
2014-01-16 11:53:26 -08:00
2014-02-17 00:36:34 -05:00
2014-02-18 18:09:02 -05:00
2014-03-05 20:40:24 -05:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2014-01-25 11:17:34 -08:00
2014-02-09 19:11:07 -08:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2013-12-31 16:48:32 -05:00
2014-01-16 11:53:26 -08:00
2014-03-03 15:38:12 -05:00
2014-01-16 16:22:54 -08:00
2014-02-24 20:32:23 -05:00
2014-01-17 18:13:58 -08:00
2014-01-16 11:53:26 -08:00
2014-02-26 15:22:02 -05:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2014-02-24 18:58:10 -05:00
2014-01-16 11:53:26 -08:00
2014-01-14 17:11:26 -08:00
2014-03-03 15:50:31 -05:00
2014-02-17 00:36:34 -05:00
2014-01-16 11:53:26 -08:00
2014-01-16 11:53:26 -08:00
2014-01-15 15:21:08 -08:00
2014-02-13 18:07:40 -05:00
2014-01-16 11:53:26 -08:00
2014-02-04 20:19:51 -08:00
2014-01-16 11:53:26 -08:00
2014-02-17 00:36:34 -05:00
2014-01-16 11:53:26 -08:00