[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167963341934.15621.1845708945689435953.git-patchwork-notify@kernel.org>
Date: Fri, 24 Mar 2023 04:50:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, sdf@...gle.com
Subject: Re: [patch net-next] ynl: allow to encode u8 attr
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 22 Mar 2023 16:42:42 +0100 you wrote:
> From: Jiri Pirko <jiri@...dia.com>
>
> Playing with dpll netlink, I came across following issue:
> $ sudo ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/dpll.yaml --do pin-set --json '{"id": 0, "pin-idx": 1, "pin-state": 1}'
> Traceback (most recent call last):
> File "tools/net/ynl/cli.py", line 52, in <module>
> main()
> File "tools/net/ynl/cli.py", line 40, in main
> reply = ynl.do(args.do, attrs)
> File "tools/net/ynl/lib/ynl.py", line 520, in do
> return self._op(method, vals)
> File "tools/net/ynl/lib/ynl.py", line 476, in _op
> msg += self._add_attr(op.attr_set.name, name, value)
> File "tools/net/ynl/lib/ynl.py", line 344, in _add_attr
> raise Exception(f'Unknown type at {space} {name} {value} {attr["type"]}')
> Exception: Unknown type at dpll pin-state 1 u8
>
> [...]
Here is the summary with links:
- [net-next] ynl: allow to encode u8 attr
https://git.kernel.org/netdev/net-next/c/8da3a5598f75
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