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 |
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>
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 --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:
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(-)