On Mon, Feb 07, 2022 at 11:22:53AM +0300, Dan Carpenter wrote: > The <= ARRAY_SIZE() needs to be < ARRAY_SIZE() to prevent an out of > bounds error. > > Fixes: d4ebf12bcec4 ("net: dsa: mv88e6xxx: populate supported_interfaces and mac_capabilities") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Good catch, thanks. Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx> -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!