Re: [PATCH net v2 2/2] net: usb: lan78xx: reject short register and statistics reads

From: Wei Jie Law

Date: Sun Oct 18 2026 - 22:19:59 EST


> You are assuming reading registers can fail with sort reads. To be
> symmetric, don't you have to assume writes can also fail in the same
> way? Should lan78xx_write_reg() have a similar test?

Thanks for pointing out, and I agree. This will be added in a v4 patch
request after the 24h cooldown expires.

> If short reads can happen, bad things are expected to happen. No need
> for examples.

Will drop from the commit message in v4.

> This belongs below the --- so that is it not part of the commit
> message.

Will be moved below the --- line in v4.