Skip to content
Commit fbc97de8 authored by Huang Guobin's avatar Huang Guobin Committed by David S. Miller
Browse files

tipc: Use is_broadcast_ether_addr() instead of memcmp()



Using is_broadcast_ether_addr() instead of directly use
memcmp() to determine if the ethernet address is broadcast
address.

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: default avatarHuang Guobin <huangguobin4@huawei.com>
Acked-by: default avatarYing Xue <ying.xue@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c09b484
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment