mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] docs: packing: Fix a typo in example code.
@ 2025-06-09  2:13 Collin Funk
  2025-06-09 18:30 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Collin Funk @ 2025-06-09  2:13 UTC (permalink / raw)
  To: olteanv, corbet; +Cc: netdev, linux-doc, linux-kernel, Collin Funk

Fix misspelling of "typedef".

Signed-off-by: Collin Funk <collin.funk1@gmail.com>
---
 Documentation/core-api/packing.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/core-api/packing.rst b/Documentation/core-api/packing.rst
index 0ce2078c8e13..f68f1e08fef9 100644
--- a/Documentation/core-api/packing.rst
+++ b/Documentation/core-api/packing.rst
@@ -319,7 +319,7 @@ Here is an example of how to use the fields APIs:
 
    #define SIZE 13
 
-   typdef struct __packed { u8 buf[SIZE]; } packed_buf_t;
+   typedef struct __packed { u8 buf[SIZE]; } packed_buf_t;
 
    static const struct packed_field_u8 fields[] = {
            PACKED_FIELD(100, 90, struct data, field1),
-- 
2.49.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-09 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-09  2:13 [PATCH] docs: packing: Fix a typo in example code Collin Funk
2025-06-09 18:30 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®