netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net
Cc: netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com,
	jiri@resnulli.us, linux-doc@vger.kernel.org
Subject: Re: [PATCH net-next] docs: netlink: clean up after deprecating version
Date: Thu, 12 Oct 2023 08:51:33 -0700	[thread overview]
Message-ID: <aed223c3-9065-42c4-8edb-40facbbbf0ee@infradead.org> (raw)
In-Reply-To: <20231012154315.587383-1-kuba@kernel.org>

Hi,

On 10/12/23 08:43, Jakub Kicinski 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 <kuba@kernel.org>
> ---
>  .../userspace-api/netlink/genetlink-legacy.rst     | 14 ++++++++++++++
>  Documentation/userspace-api/netlink/specs.rst      |  5 -----
>  2 files changed, 14 insertions(+), 5 deletions(-)
> 
> diff --git a/Documentation/userspace-api/netlink/genetlink-legacy.rst b/Documentation/userspace-api/netlink/genetlink-legacy.rst
> index 40b82ad5d54a..11710086aba0 100644
> --- a/Documentation/userspace-api/netlink/genetlink-legacy.rst
> +++ b/Documentation/userspace-api/netlink/genetlink-legacy.rst
> @@ -11,6 +11,20 @@ the ``genetlink-legacy`` protocol level.
>  Specification
>  =============
>  
> +Gobals

Globals
?

> +------
> +
> +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.

> +
>  Attribute type nests
>  --------------------
>  
> diff --git a/Documentation/userspace-api/netlink/specs.rst b/Documentation/userspace-api/netlink/specs.rst
> index cc4e2430997e..40dd7442d2c3 100644
> --- a/Documentation/userspace-api/netlink/specs.rst
> +++ b/Documentation/userspace-api/netlink/specs.rst
> @@ -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
>  ~~~~~~~~
>  

-- 
~Randy

  reply	other threads:[~2023-10-12 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12 15:43 [PATCH net-next] docs: netlink: clean up after deprecating version Jakub Kicinski
2023-10-12 15:51 ` Randy Dunlap [this message]
2023-10-13 11:28 ` Jiri Pirko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aed223c3-9065-42c4-8edb-40facbbbf0ee@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).