Re: [PATCH net-next v3] net: eth: fbnic: Fix addr validation in pcs write
From: Jakub Kicinski
Date: Mon May 11 2026 - 20:21:36 EST
On Thu, 7 May 2026 11:42:03 -0400 mike.marciniszyn@xxxxxxxxx wrote:
> The DW IP has two distinct PCS address ranges cooresponding
> to the C45 PCS registers.
>
> The shim translates the PCS addr/regno into specific CSR writes
> into one of those two zero-relative ranges.
>
> This patch fixes a one off in the test that could allow an invalid
> CSR write if an addr == 2 was called.
>
> There are is of yet, no real impact for the bug as no PCS writes are
> present.
Applied, thanks! (bot is not replying for some reason)