summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorEthan Nelson-Moore <enelsonmoore@gmail.com>2026-01-22 23:06:39 -0800
committerJakub Kicinski <kuba@kernel.org>2026-01-25 15:01:04 -0800
commitc2e99887807eb1b4fea7e5f63bbd6b5512879293 (patch)
tree17ea479b1dd38bb182ce7a03454f259b020867a4 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent6290f7e71ba792ba796a2d781e8bdda4622f0002 (diff)
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions