> -// 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/