aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-04 18:11:14 -0700
committerDavid S. Miller <davem@davemloft.net>2021-10-05 11:35:56 +0100
commitceca777dabc6ea25e13fae6498c27e187a69be0e (patch)
tree38c3cb7d3b5514544272e3b5a8a7bda3bcb07138 /tools/perf/scripts/python/libxed.py
parentsparc: Fix typo. (diff)
downloadlinux-dev-ceca777dabc6ea25e13fae6498c27e187a69be0e.tar.xz
linux-dev-ceca777dabc6ea25e13fae6498c27e187a69be0e.zip
ethernet: ehea: add missing cast
We need to cast the pointer, unlike memcpy() eth_hw_addr_set() does not take void *. The driver already casts &port->mac_addr to u8 * in other places. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: a96d317fb1a3 ("ethernet: use eth_hw_addr_set()") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions