Re: [PATCH RESEND net-next 1/7] bonding: use ether_addr_equal_unalignedfor bond addr compare

From: Julia Lawall
Date: Thu Jan 02 2014 - 02:39:42 EST


> -// compare MAC addresses
> -#define MAC_ADDRESS_COMPARE(A, B) memcmp(A, B, ETH_ALEN)
> +/* compare MAC addresses */
> +#define MAC_ADDRESS_EQUAL(A, B) \
> + ether_addr_equal_64bits((const u8 *)A, (const u8 *)B)

Are the casts needed?

julia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/