diff options
author | Li Zetao <lizetao1@huawei.com> | 2023-08-08 14:38:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-10 01:26:49 +0300 |
commit | b77049f04ed16cb0ab89b1cca689cd16a3071fd2 (patch) | |
tree | fccb4c01aa1ab253f67881368af33e3a39d84eff /net/unix/scm.c | |
parent | 052059b663c957aea5a90f206ece4849f88f34bf (diff) | |
download | linux-b77049f04ed16cb0ab89b1cca689cd16a3071fd2.tar.xz |
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 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions