diff options
author | Zou Wei <zou_wei@huawei.com> | 2021-06-07 05:57:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-07 23:16:36 +0300 |
commit | 3f07ce8e528746d477cfb301f4dc7b197ad1e2a3 (patch) | |
tree | 8e4d01db704931355a75c0a2fc8265dc9ecc14e0 /net/atm/br2684.c | |
parent | cda9de0b8daf2ebfc07d385ef0039fd7860ddf25 (diff) | |
download | linux-3f07ce8e528746d477cfb301f4dc7b197ad1e2a3.tar.xz |
net: dsa: hellcreek: Use is_zero_ether_addr() instead of memcmp()
Using is_zero_ether_addr() instead of directly use
memcmp() to determine if the ethernet address is all
zeros.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/br2684.c')
0 files changed, 0 insertions, 0 deletions