Skip to contentSkip to conversation

tools: ynl: remove trailing semicolon

PATCH Applied Jakub Kicinski 3 participants 3 messages Mar 8, 2024 – Mar 11, 2024

Subsystems (3)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 tools: ynl: remove trailing semicolon

Commit e8a6c515ff5f ("tools: ynl: allow user to pass enum string instead of scalar value") added a semicolon at the end of a line.

---
CC: [email protected]
CC: [email protected]

---
 tools/net/ynl/lib/ynl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/net/ynl/lib/ynl.py +1 -1
index 239e22b7a85f..cb01eee3b2d5 100644
@@ -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:
Signature · 1 line
2.44.0
#2 lore raw
In reply to Jakub Kicinski
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 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.

---
CC: [email protected]
CC: [email protected]

[...]

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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html