docs: netlink: clean up after deprecating version
Subsystems (4)
Jakub Kicinski
maintainerPATCH 1/1 docs: netlink: clean up after deprecating version
Jiri moved version to legacy specs in commit 0f07415ebb78 ("netlink:
specs: don't allow version to be specified for genetlink"). Update the documentation.
--- .../userspace-api/netlink/genetlink-legacy.rst | 14 ++++++++++++++ Documentation/userspace-api/netlink/specs.rst | 5 ----- 2 files changed, 14 insertions(+), 5 deletions(-)
Documentation/userspace-api/netlink/genetlink-legacy.rst +14 -0
@@ -11,6 +11,20 @@ the ``genetlink-legacy`` protocol level. Specification ============= +Gobals +------ + +Attributes listed directly at the root level of the spec file. + +version +~~~~~~~ + +Generic Netlink family version, default is 1. + +``version`` has historically been used to introduce family changes +which may break backwards compatibility. Since breaking changes +are generally not allowed ``version`` is very rarely used. + Attribute type nests --------------------
Documentation/userspace-api/netlink/specs.rst +0 -5
@@ -86,11 +86,6 @@ name Name of the family. Name identifies the family in a unique way, since the Family IDs are allocated dynamically. -version -~~~~~~~ - -Generic Netlink family version, default is 1. - protocol ~~~~~~~~
Signature · 1 line
2.41.0
Randy Dunlap
reviewerHi,
Quoted 15 lines · Jakub Kicinski
Jiri moved version to legacy specs in commit
0f07415ebb78("netlink:
specs: don't allow version to be specified for genetlink"). Update the documentation.Signed-off-by Jakub Kicinski <[email protected]>--- .../userspace-api/netlink/genetlink-legacy.rst | 14 ++++++++++++++ Documentation/userspace-api/netlink/specs.rst | 5 ----- 2 files changed, 14 insertions(+), 5 deletions(-)Documentation/userspace-api/netlink/genetlink-legacy.rst +0
-0
Documentation/userspace-api/netlink/genetlink-legacy.rst the ``genetlink-legacy`` protocol level. · line 14
Quoted 4 lines
Documentation/userspace-api/netlink/genetlink-legacy.rst +1
-0@@ -11,6 +11,20 @@ the ``genetlink-legacy`` protocol level. Specification ============= +Gobals
Globals
?
Documentation/userspace-api/netlink/genetlink-legacy.rst the ``genetlink-legacy`` protocol level. · line 26
Quoted 12 lines
Documentation/userspace-api/netlink/genetlink-legacy.rst +12
-0+------ + +Attributes listed directly at the root level of the spec file. + +version +~~~~~~~ + +Generic Netlink family version, default is 1. + +``version`` has historically been used to introduce family changes +which may break backwards compatibility. Since breaking changes +are generally not allowed ``version`` is very rarely used.
I would s/are/is/. To me "breaking changes" is singular, not plural.
Quoted 20 lines
Documentation/userspace-api/netlink/genetlink-legacy.rst +1
-0+ Attribute type nests --------------------Documentation/userspace-api/netlink/specs.rst +0
-5@@ -86,11 +86,6 @@ name Name of the family. Name identifies the family in a unique way, since the Family IDs are allocated dynamically. -version -~~~~~~~ - -Generic Netlink family version, default is 1. - protocol ~~~~~~~~
Signature · 1 line
~Randy
Quoted 21 lines · Thu, Oct 12, 2023 at 05:43:15PM CEST, [email protected] wrote:
Jiri moved version to legacy specs in commit
0f07415ebb78("netlink:
specs: don't allow version to be specified for genetlink"). Update the documentation.Signed-off-by Jakub Kicinski <[email protected]>---
.../userspace-api/netlink/genetlink-legacy.rst| 14 ++++++++++++++Documentation/userspace-api/netlink/specs.rst| 5 -----2 files changed, 14 insertions(+), 5 deletions(-)Documentation/userspace-api/netlink/genetlink-legacy.rst +0
-0@@ -11,6 +11,20 @@ the ``genetlink-legacy`` protocol level.Specification
=============Documentation/userspace-api/netlink/genetlink-legacy.rst +3
-0+Gobals +------ +
Documentation/userspace-api/netlink/genetlink-legacy.rst the ``genetlink-legacy`` protocol level. · line 26
Quoted 10 lines
Documentation/userspace-api/netlink/genetlink-legacy.rst +10
-0+Attributes listed directly at the root level of the spec file. + +version +~~~~~~~ + +Generic Netlink family version, default is 1. + +``version`` has historically been used to introduce family changes +which may break backwards compatibility. Since breaking changes +are generally not allowed ``version`` is very rarely used.
"should never be used" perhaps?
Quoted 23 lines
+
Attribute type nests
--------------------Documentation/userspace-api/netlink/specs.rst +0
-0@@ -86,11 +86,6 @@ nameName of the family. Name identifies the family in a unique way, since the Family IDs are allocated dynamically.
Documentation/userspace-api/netlink/specs.rst +0
-5-version -~~~~~~~ - -Generic Netlink family version, default is 1. -protocol
~~~~~~~~Signature · 1 line
2.41.0