Re: [PATCH] phy: ti: gmii-sel: Add a sanity check on the phy_id

From: Vinod Koul

Date: Thu Nov 20 2025 - 12:11:57 EST



On Fri, 17 Oct 2025 19:04:23 +0300, Dan Carpenter wrote:
> The "phy_id" comes from the device tree so it's going to be correct.
> But static checkers sometimes complain when we have an upper bounds
> check with no lower bounds check. Also it's a bit unusual that the
> lowest valid number is 1 instead of 0 so adding a check could
> potentially help someone.
>
>
> [...]

Applied, thanks!

[1/1] phy: ti: gmii-sel: Add a sanity check on the phy_id
commit: 9d3daf9ca3239042c2cf473a76db2a77e6de22c6

Best regards,
--
~Vinod