summaryrefslogtreecommitdiff
path: root/net/unix/scm.c
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-08 19:45:03 +0800
committerJakub Kicinski <kuba@kernel.org>2023-08-09 15:29:41 -0700
commite62c7adfd4acc394c448870ba63d4315e7a662f6 (patch)
tree4d01815ae4bf7d614ed12184ea3989fc37b677c1 /net/unix/scm.c
parent7d0bc2602308ec0a183241914b0646d99d0fb541 (diff)
octeontx2-af: Use u64_to_ether_addr() to convert ethernet address
Use u64_to_ether_addr() to convert a u64 value to an Ethernet MAC address, instead of directly calculating, as this is exactly what this function does. Signed-off-by: Li Zetao <lizetao1@huawei.com> Acked-by: Geethasowjanya Akula <gakula@marvell.com> Link: https://lore.kernel.org/r/20230808114504.4036008-3-lizetao1@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions