[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5be10af1-e7ca-4bed-bf19-0127e2eeb556@lunn.ch>
Date: Mon, 22 Dec 2025 10:07:38 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Ethan Nelson-Moore <enelsonmoore@...il.com>
Cc: netdev@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH v2] net: usb: sr9700: fix incorrect command used to write
single register
On Sun, Dec 21, 2025 at 03:42:58PM -0800, Ethan Nelson-Moore wrote:
> Hi, Andrew,
>
> The other two are correct because they intend to write multiple registers -
> they are used with a length parameter.
Please don't top post.
How finished do you think this driver is? Are there likely to be more
instances of SR_WR_REG/SR_WR_REGS added in the future? If so, it might
make sense to change the code to make this sort of error less likely.
SR_WR_MULTIPLE_REG and SR_WR_ONE_REG?
Andrew
Powered by blists - more mailing lists