Re: [PATCH v2 7/7] net: phy: realtek: configure RTL8211E LEDs

Andrew Lunn
2019-07-03T20:10:37Z

> + for (i = 0; i < count; i++) {
> + u32 val;
> +
> + of_property_read_u32_index(dev->of_node,
> + "realtek,led-modes", i, &val);

Please validate the value, 0 - 7.

Andrew