net: phy: qt2025: Fix hardware revision check comment
Subsystems (5)
PATCH v2 1/1 net: phy: qt2025: Fix hardware revision check comment
Correct the hardware revision check comment in the QT2025 driver. The revision value was documented as 0x3b instead of the correct 0xb3, which matches the actual comparison logic in the code.
---
Changes in v2:
- Resend with proper patch subject, according to netdev documentation
- Add "Fixes: " tag
- Link to v1: https://lore.kernel.org/r/[email protected]
--- drivers/net/phy/qt2025.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/qt2025.rs +1 -1
@@ -41,7 +41,7 @@ impl Driver for PhyQT2025 {fn probe (dev: &mut phy::Device ) ->Result <()> {// Check the hardware revision code. -// Only 0x3b works with this driver and firmware. +// Only 0xb3 works with this driver and firmware. let hw_rev = dev.read (C45 ::new (Mmd ::PMAPMD ,0xd001 ))?;if (hw_rev >>8 ) !=0xb3 {return Err (code::ENODEV );
---
base-commit: beeb78d46249cab8b2b8359a2ce8fa5376b5ad2d
change-id: 20250218-qt2025-comment-fix-31a7f8fcbc64
Best regards,
Signature · 1 line
Charalampos Mitrodimas <[email protected]>
Quoted 7 lines · Charalampos Mitrodimas
Correct the hardware revision check comment in the QT2025 driver. The revision value was documented as
0x3binstead of the correct0xb3, which matches the actual comparison logic in the code.Fixes fd3eaad826da ("net: phy: add Applied Micro QT2025 PHY driver")Reviewed-by FUJITA Tomonori <[email protected]>Signed-off-by Charalampos Mitrodimas <[email protected]>
Andrew
Quoted 8 lines · Charalampos Mitrodimas
Correct the hardware revision check comment in the QT2025 driver. The revision value was documented as
0x3binstead of the correct0xb3, which matches the actual comparison logic in the code.Fixes fd3eaad826da ("net: phy: add Applied Micro QT2025 PHY driver")Reviewed-by FUJITA Tomonori <[email protected]>Signed-off-by Charalampos Mitrodimas <[email protected]>
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Wed, 19 Feb 2025 12:41:55 +0000 you wrote:
Correct the hardware revision check comment in the QT2025 driver. The revision value was documented as
0x3binstead of the correct0xb3, which matches the actual comparison logic in the code.Fixes fd3eaad826da ("net: phy: add Applied Micro QT2025 PHY driver")Reviewed-by FUJITA Tomonori <[email protected]>Signed-off-by Charalampos Mitrodimas <[email protected]>[...]
Here is the summary with links:
- [net,v2] net: phy: qt2025: Fix hardware revision check comment
https://git.kernel.org/netdev/net-next/c/8279a8dacf9f
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html