[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174683343499.3841790.4154973310756554641.git-patchwork-notify@kernel.org>
Date: Fri, 09 May 2025 23:30:34 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, donald.hunter@...il.com, kuba@...nel.org,
davem@...emloft.net, edumazet@...gle.com, pabeni@...hat.com,
horms@...nel.org, jstancek@...hat.com, sdf@...ichev.me
Subject: Re: [PATCH net] tools/net/ynl: ethtool: fix crash when Hardware Clock
info is missing
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 8 May 2025 03:54:14 +0000 you wrote:
> Fix a crash in the ethtool YNL implementation when Hardware Clock information
> is not present in the response. This ensures graceful handling of devices or
> drivers that do not provide this optional field. e.g.
>
> Traceback (most recent call last):
> File "/net/tools/net/ynl/pyynl/./ethtool.py", line 438, in <module>
> main()
> ~~~~^^
> File "/net/tools/net/ynl/pyynl/./ethtool.py", line 341, in main
> print(f'PTP Hardware Clock: {tsinfo["phc-index"]}')
> ~~~~~~^^^^^^^^^^^^^
> KeyError: 'phc-index'
>
> [...]
Here is the summary with links:
- [net] tools/net/ynl: ethtool: fix crash when Hardware Clock info is missing
https://git.kernel.org/netdev/net/c/45375814eb3f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists