[PATCH] ibmveth: Fix more little endian issues

Joe Perches joe at perches.com
Tue Dec 24 01:52:09 EST 2013


On Mon, 2013-12-23 at 17:38 +1100, Anton Blanchard wrote:
> The hypervisor expects MAC addresses passed in registers to be big
> endian u64.

So maybe use __be64 declarations?

> +static unsigned long ibmveth_encode_mac_addr(char *mac)

static __be64 ibmveth_encode_mac_addr(const char *mac)

?

etc...




More information about the Linuxppc-dev mailing list