Message ID | 800f2681d56b5195c8b22173a3b83bbac021af92.1705950652.git.alessandromarcolini99@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | tools: ynl: Add sub-message and multi-attr encoding support | expand |
Alessandro Marcolini <alessandromarcolini99@gmail.com> writes: > Correct typo in SpecAttr docstring. Changed SpecSubMessageFormat > docstring. These docstring updates lgtm. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> > Signed-off-by: Alessandro Marcolini <alessandromarcolini99@gmail.com> > --- > tools/net/ynl/lib/nlspec.py | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/tools/net/ynl/lib/nlspec.py b/tools/net/ynl/lib/nlspec.py > index 44f13e383e8a..f8feae363970 100644 > --- a/tools/net/ynl/lib/nlspec.py > +++ b/tools/net/ynl/lib/nlspec.py > @@ -144,7 +144,7 @@ class SpecEnumSet(SpecElement): > > > class SpecAttr(SpecElement): > - """ Single Netlink atttribute type > + """ Single Netlink attribute type > > Represents a single attribute type within an attr space. > > @@ -306,10 +306,9 @@ class SpecSubMessage(SpecElement): > > > class SpecSubMessageFormat(SpecElement): > - """ Netlink sub-message definition > + """ Netlink sub-message format definition > > - Represents a set of sub-message formats for polymorphic nlattrs > - that contain type-specific sub messages. > + Represents a single format for a sub-message. > > Attributes: > value attribute value to match against type selector
diff --git a/tools/net/ynl/lib/nlspec.py b/tools/net/ynl/lib/nlspec.py index 44f13e383e8a..f8feae363970 100644 --- a/tools/net/ynl/lib/nlspec.py +++ b/tools/net/ynl/lib/nlspec.py @@ -144,7 +144,7 @@ class SpecEnumSet(SpecElement): class SpecAttr(SpecElement): - """ Single Netlink atttribute type + """ Single Netlink attribute type Represents a single attribute type within an attr space. @@ -306,10 +306,9 @@ class SpecSubMessage(SpecElement): class SpecSubMessageFormat(SpecElement): - """ Netlink sub-message definition + """ Netlink sub-message format definition - Represents a set of sub-message formats for polymorphic nlattrs - that contain type-specific sub messages. + Represents a single format for a sub-message. Attributes: value attribute value to match against type selector
Correct typo in SpecAttr docstring. Changed SpecSubMessageFormat docstring. Signed-off-by: Alessandro Marcolini <alessandromarcolini99@gmail.com> --- tools/net/ynl/lib/nlspec.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)