This series addresses issues found when reviewing another fix:
https://lore.kernel.org/netdev/20260915-rzn1-miic-fix-array-v5-1-b7173fd5b97d@reliablecontrols.com/ (local)
Invalid values from the dtb could cause out of bounds array access. Checking
the values as they're parsed should prevent this.
Signed-off-by: Kyle Hendry <redacted>
---
Kyle Hendry (2):
net: pcs: rzn1-miic: Make usage of miic_port_max consistent
net: pcs: rzn1-miic: Validate dtb configuration values
drivers/net/pcs/pcs-rzn1-miic.c | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
---
base-commit: 42a9fb3382fc2573e92f41d203b095d9a372cfc9
change-id: 20260924-miic-validate-dtb-bfc4b380b782
Best regards,
--
Kyle Hendry [off-list ref]