* [PATCH net-next] tools: ynl: remove trailing semicolon
@ 2024-03-08 19:25 Jakub Kicinski
2024-03-11 8:43 ` Jiri Pirko
2024-03-11 22:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Jakub Kicinski @ 2024-03-08 19:25 UTC (permalink / raw)
To: davem; +Cc: netdev, edumazet, pabeni, Jakub Kicinski, donald.hunter, jiri
Commit e8a6c515ff5f ("tools: ynl: allow user to pass enum string
instead of scalar value") added a semicolon at the end of a line.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
CC: donald.hunter@gmail.com
CC: jiri@resnulli.us
---
tools/net/ynl/lib/ynl.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/net/ynl/lib/ynl.py b/tools/net/ynl/lib/ynl.py
index 239e22b7a85f..cb01eee3b2d5 100644
--- a/tools/net/ynl/lib/ynl.py
+++ b/tools/net/ynl/lib/ynl.py
@@ -484,7 +484,7 @@ genl_family_name_to_id = None
except (ValueError, TypeError) as e:
if 'enum' not in attr_spec:
raise e
- return self._encode_enum(attr_spec, value);
+ return self._encode_enum(attr_spec, value)
def _add_attr(self, space, name, value, search_attrs):
try:
--
2.44.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] tools: ynl: remove trailing semicolon
2024-03-08 19:25 [PATCH net-next] tools: ynl: remove trailing semicolon Jakub Kicinski
@ 2024-03-11 8:43 ` Jiri Pirko
2024-03-11 22:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2024-03-11 8:43 UTC (permalink / raw)
To: Jakub Kicinski; +Cc: davem, netdev, edumazet, pabeni, donald.hunter
Fri, Mar 08, 2024 at 08:25:55PM CET, kuba@kernel.org wrote:
>Commit e8a6c515ff5f ("tools: ynl: allow user to pass enum string
>instead of scalar value") added a semicolon at the end of a line.
>
>Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] tools: ynl: remove trailing semicolon
2024-03-08 19:25 [PATCH net-next] tools: ynl: remove trailing semicolon Jakub Kicinski
2024-03-11 8:43 ` Jiri Pirko
@ 2024-03-11 22:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-03-11 22:50 UTC (permalink / raw)
To: Jakub Kicinski; +Cc: davem, netdev, edumazet, pabeni, donald.hunter, jiri
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 8 Mar 2024 11:25:55 -0800 you wrote:
> Commit e8a6c515ff5f ("tools: ynl: allow user to pass enum string
> instead of scalar value") added a semicolon at the end of a line.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> ---
> CC: donald.hunter@gmail.com
> CC: jiri@resnulli.us
>
> [...]
Here is the summary with links:
- [net-next] tools: ynl: remove trailing semicolon
https://git.kernel.org/netdev/net-next/c/a0d942960d9b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-11 22:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-08 19:25 [PATCH net-next] tools: ynl: remove trailing semicolon Jakub Kicinski
2024-03-11 8:43 ` Jiri Pirko
2024-03-11 22:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).