summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorMike Marciniszyn (Meta) <mike.marciniszyn@gmail.com>2026-05-07 11:42:03 -0400
committerJakub Kicinski <kuba@kernel.org>2026-05-10 10:09:13 -0700
commit70f764ecca72bd35668b0c17426af4b088f4c88d (patch)
tree8a72ac9943798c17b03b61a7c9cb3a19f4e7f880 /rust/kernel/alloc/kvec/errors.rs
parent8b2feced65cd3aa0597d596ed5733a1abd4c4d78 (diff)
net: eth: fbnic: Fix addr validation in pcs write
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. Signed-off-by: Mike Marciniszyn (Meta) <mike.marciniszyn@gmail.com> Link: https://patch.msgid.link/20260507154203.3667-1-mike.marciniszyn@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions