[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176365871460.207696.15567029347184723222.b4-ty@kernel.org>
Date: Thu, 20 Nov 2025 22:41:54 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Kishon Vijay Abraham I <kishon@...nel.org>,
Maxime Chevallier <maxime.chevallier@...tlin.com>,
Michael Walle <mwalle@...nel.org>, Andrew Davis <afd@...com>,
linux-phy@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] phy: ti: gmii-sel: Add a sanity check on the phy_id
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
Powered by blists - more mailing lists