docs: packing: fix brackets

Add two ')' to nested functions in code block.

Fixes: a9ad2a8dfb ("lib: packing: document recently added APIs")
Signed-off-by: Manuel Ebner <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Message-ID: <[email protected]>
This commit is contained in:
Manuel Ebner authored and Jonathan Corbet committed 2026-07-15 10:51:27 -06:00
1 parent 9b9fc6ab97
commit 8ff722efae
1 file changed
+2 -2
+2 -2
View File
@@ -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);