Re: [PATCH net-next v5 1/2] net, treewide: define and use MAC_ADDR_STR_LEN

From
Simon Horman <horms@kernel.org>
Date
2025-02-25 14:40:25
Also in
linux-doc, linux-wireless, lkml
Reply to
Uday Shankar, 2025-02-21
On Thu, Feb 20, 2025 at 06:29:20PM -0700, Uday Shankar wrote:
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 <redacted>
Reviewed-by: Michal Swiatkowski <redacted>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Simon Horman <horms@verge.net.au>
Thread (12 messages) 12 messages, 5 authors, last reply 2025-03-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help