From: Jonathan Corbet <corbet@lwn.net>
To: Manuel Ebner <manuelebner@mailbox.org>,
Vladimir Oltean <olteanv@gmail.com>,
Shuah Khan <skhan@linuxfoundation.org>,
Jakub Kicinski <kuba@kernel.org>,
Jacob Keller <jacob.e.keller@intel.com>
Cc: Manuel Ebner <manuelebner@mailbox.org>,
Andrew Lunn <andrew@lunn.ch>,
Randy Dunlap <rdunlap@infradead.org>,
Vladimir Oltean <vladimir.oltean@nxp.com>,
netdev@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3] docs: packing: fix brackets
Date: Fri, 10 Jul 2026 13:02:30 -0600 [thread overview]
Message-ID: <8733xqmzw9.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260710060346.417669-2-manuelebner@mailbox.org>
Manuel Ebner <manuelebner@mailbox.org> writes:
> Add two ')' to nested functions in code block.
>
> Fixes: a9ad2a8dfb43 ("lib: packing: document recently added APIs")
> Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> [v3]
> fix subject
> add Acked-by
> [v2]
> add Fixes tag.
> add Reviewed-by.
> [v1]
> https://lore.kernel.org/all/20260709121427.391749-2-manuelebner@mailbox.org/
> ---
> Documentation/core-api/packing.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/core-api/packing.rst b/Documentation/core-api/packing.rst
> index f68f1e08fef9..cff1a262efce 100644
> --- a/Documentation/core-api/packing.rst
> +++ b/Documentation/core-api/packing.rst
> @@ -330,7 +330,7 @@ Here is an example of how to use the fields APIs:
>
> void unpack_your_data(const packed_buf_t *buf, struct data *unpacked)
> {
> - BUILD_BUG_ON(sizeof(*buf) != SIZE;
> + BUILD_BUG_ON(sizeof(*buf) != SIZE);
>
> unpack_fields(buf, sizeof(*buf), unpacked, fields,
> QUIRK_LITTLE_ENDIAN);
> @@ -338,7 +338,7 @@ Here is an example of how to use the fields APIs:
>
> void pack_your_data(const struct data *unpacked, packed_buf_t *buf)
> {
> - BUILD_BUG_ON(sizeof(*buf) != SIZE;
> + BUILD_BUG_ON(sizeof(*buf) != SIZE);
>
Applied, thanks.
jon
prev parent reply other threads:[~2026-07-10 19:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-10 6:03 [PATCH v3] docs: packing: fix brackets Manuel Ebner
2026-07-10 19:02 ` Jonathan Corbet [this message]
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=8733xqmzw9.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=andrew@lunn.ch \
--cc=jacob.e.keller@intel.com \
--cc=kuba@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manuelebner@mailbox.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=vladimir.oltean@nxp.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