From 8ff722efae9fcf8b18bf17c4d81104b8864695de Mon Sep 17 00:00:00 2001 From: Manuel Ebner Date: Fri, 10 Jul 2026 08:03:46 +0200 Subject: [PATCH] docs: packing: fix brackets Add two ')' to nested functions in code block. Fixes: a9ad2a8dfb43 ("lib: packing: document recently added APIs") Signed-off-by: Manuel Ebner Reviewed-by: Andrew Lunn Acked-by: Randy Dunlap Signed-off-by: Jonathan Corbet Message-ID: <20260710060346.417669-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); pack_fields(buf, sizeof(*buf), unpacked, fields, QUIRK_LITTLE_ENDIAN);