diff options
author | 2023-08-08 19:38:49 +0800 | |
---|---|---|
committer | 2023-08-09 15:26:49 -0700 | |
commit | b77049f04ed16cb0ab89b1cca689cd16a3071fd2 (patch) | |
tree | fccb4c01aa1ab253f67881368af33e3a39d84eff /tools/perf/scripts/python/stackcollapse.py | |
parent | Merge tag 'nf-next-2023-08-08' of https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next (diff) | |
download | wireguard-linux-b77049f04ed16cb0ab89b1cca689cd16a3071fd2.tar.xz wireguard-linux-b77049f04ed16cb0ab89b1cca689cd16a3071fd2.zip |
ethernet: s2io: Use ether_addr_to_u64() to convert ethernet address
Use ether_addr_to_u64() to convert an Ethernet address into a u64 value,
instead of directly calculating, as this is exactly what
this function does.
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230808113849.4033657-1-lizetao1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions