diff mbox series

[net-next] tools: ynl: remove trailing semicolon

Message ID 20240308192555.2550253-1-kuba@kernel.org (mailing list archive)
State Accepted
Commit a0d942960d9b0ba352b2400e1a3b8fb02d911143
Delegated to: Netdev Maintainers
Headers show
Series [net-next] tools: ynl: remove trailing semicolon | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 8 this patch: 8
netdev/build_tools success Errors and warnings before: 0 this patch: 0
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/build_clang success Errors and warnings before: 8 this patch: 8
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 8 this patch: 8
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-03-10--00-00 (tests: 888)

Commit Message

Jakub Kicinski March 8, 2024, 7:25 p.m. UTC
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(-)

Comments

Jiri Pirko March 11, 2024, 8:43 a.m. UTC | #1
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>
patchwork-bot+netdevbpf@kernel.org March 11, 2024, 10:50 p.m. UTC | #2
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!
diff mbox series

Patch

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: