diff options
author | Huang Guobin <huangguobin4@huawei.com> | 2020-08-02 22:00:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-03 16:21:46 -0700 |
commit | fbc97de84ef88bc38874c41be151cf220c72a865 (patch) | |
tree | 4979d9522a3d4cec7f721194c139c74f195f66f8 /usr | |
parent | 6c09b484377cc8f135a20390c99d7e0d71b1b888 (diff) | |
download | lwn-fbc97de84ef88bc38874c41be151cf220c72a865.tar.gz lwn-fbc97de84ef88bc38874c41be151cf220c72a865.zip |
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: Huang Guobin <huangguobin4@huawei.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions