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

From: Ding Tianhong
Date: Thu Jan 02 2014 - 04:00:55 EST


On 2014/1/2 16:38, Julia Lawall wrote:
> On Thu, 2 Jan 2014, Ding Tianhong wrote:
>
>> On 2014/1/2 15:39, Julia Lawall wrote:
>>> Are the casts needed
>>
>>
>> Yes, otherwise the warming will report:
>>
>> /net-next/drivers/net/bonding/bond_3ad.c:427: warning: passing argument 1 of âether_addr_equal_64bitsâ from incompatible pointer type
>
> Is it necessary for this driver to use a different type from everyone
> else?
>
> julia
>
Did you mean the MAC_ADDRESS_EQUAL is excess?
I did not remove it because the codes no need to be changed more and it looks that didn't take any negative effect.

Regards
Ding


--
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/