On Fri, Apr 14, 2023 at 05:06:45PM -0500, Nishanth Menon wrote:

> Recent commit 75d28899e3e9 ("net: phy: Synchronize PHY interface modes
> with Linux") reordered the enum definitions. This exposed a problem
> in range checking functions to identify the interface type. Though
> this specific api wasn't impacted (all the RGMII definitions remained
> within range), this experience should be used to never to have to face
> this kind of challenge again.
> 
> While it is possible for the phy drivers to use the enums directly,
> drivers such as dp83867, dp83869, marvell, micrel_ksz90x1 etc use this
> api.
> 
> Reported-by: Tom Rini <tr...@konsulko.com>
> Reviewed-by: Marek Vasut <marek.vasut+rene...@mailbox.org>
> Reviewed-by: Marek BehĂșn <ka...@kernel.org>
> Signed-off-by: Nishanth Menon <n...@ti.com>
> Reviewed-by: Ramon Fried <rfried....@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to