summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEthan Nelson-Moore <enelsonmoore@gmail.com>2026-01-23 10:06:39 +0300
committerJakub Kicinski <kuba@kernel.org>2026-01-26 02:01:04 +0300
commitc2e99887807eb1b4fea7e5f63bbd6b5512879293 (patch)
tree17ea479b1dd38bb182ce7a03454f259b020867a4 /include/linux
parent6290f7e71ba792ba796a2d781e8bdda4622f0002 (diff)
downloadlinux-c2e99887807eb1b4fea7e5f63bbd6b5512879293.tar.xz
net: usb: sr9700: use ETH_ALEN instead of magic number
The driver hardcodes the number 6 as the number of bytes to write to the SR_PAR register, which stores the MAC address. Use ETH_ALEN instead to make the code clearer. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Peter Korsgaard <peter@korsgaard.com> Link: https://patch.msgid.link/20260123070645.56434-1-enelsonmoore@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions