]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: usb: sr9700: fix byte numbering in comments
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Tue, 13 Jan 2026 07:53:21 +0000 (23:53 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Jan 2026 03:43:14 +0000 (19:43 -0800)
commitacbe4a141e89eef8dab4b2840037ee70fbf59578
treeb10a50a4994c3417ab6c03ad51ff0ab761c3d0c7
parent2c297957912bdfaadbf91b3353e3af87c6c41cbe
net: usb: sr9700: fix byte numbering in comments

The comments describing the RX/TX headers and status response use
a combination of 0- and 1-based indexing, leading to confusion. Correct
the numbering and make it consistent. Also fix a typo "pm" for "pn".

This issue also existed in dm9601 and was fixed in commit 61189c78bda8
("dm9601: trivial comment fixes").

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Peter Korsgaard <peter@korsgaard.com>
Link: https://patch.msgid.link/20260113075327.85435-1-enelsonmoore@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/sr9700.c