[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240308192555.2550253-1-kuba@kernel.org>
Date: Fri, 8 Mar 2024 11:25:55 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
Jakub Kicinski <kuba@...nel.org>,
donald.hunter@...il.com,
jiri@...nulli.us
Subject: [PATCH net-next] 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.
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
CC: donald.hunter@...il.com
CC: jiri@...nulli.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
Powered by blists - more mailing lists