diff options
author | 2021-10-02 14:18:26 +0100 | |
---|---|---|
committer | 2021-10-02 14:18:26 +0100 | |
commit | e9637775c05f2bbae24f060a91b7f8459bbe2286 (patch) | |
tree | fc737b1464f6d6faaa12c636506bc78b51208d9c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Merge branch 'ocelot-vlan' (diff) | |
parent | ethernet: use eth_hw_addr_set() - casts (diff) | |
download | linux-dev-e9637775c05f2bbae24f060a91b7f8459bbe2286.tar.xz linux-dev-e9637775c05f2bbae24f060a91b7f8459bbe2286.zip |
Merge branch 'hw_addr_set'
Jakub Kicinski says:
====================
Use netdev->dev_addr write helpers (part 1)
Commit 406f42fa0d3c ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.
This is the first installment of predictably tedious conversion.
It tackles:
memcpy(netdev->dev_addr, something, ETH_ADDR)
and
ether_addr_copy(netdev->dev_addr, something)
replacing both with eth_hw_addr_set().
The first 7 patches are done entirely by sparse.
Next 4 were semi-manual because the sparse conversion
resulted in errors.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions