aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorUday Shankar <[email protected]>2025-03-12 19:51:46 +0000
committerPaolo Abeni <[email protected]>2025-03-19 18:17:58 +0000
commit6d6c1ba7824022528dbe3e283fafbd0775424128 (patch)
tree0887dedc1321e397e52db3e50b2079c2b6c9e75f /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parentr8169: switch away from deprecated pcim_iomap_table (diff)
downloadkernel-6d6c1ba7824022528dbe3e283fafbd0775424128.tar.gz
kernel-6d6c1ba7824022528dbe3e283fafbd0775424128.zip
net, treewide: define and use MAC_ADDR_STR_LEN
There are a few places in the tree which compute the length of the string representation of a MAC address as 3 * ETH_ALEN - 1. Define a constant for this and use it where relevant. No functionality changes are expected. Signed-off-by: Uday Shankar <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Acked-by: Johannes Berg <[email protected]> Reviewed-by: Breno Leitao <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions