From: Collin Funk Date: Mon, 9 Jun 2025 02:13:30 +0000 (-0700) Subject: docs: packing: Fix a typo in example code. X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=97d91036a4ccbfd402bc8420d970cea250b2bb3c;p=users%2Fwilly%2Flinux.git docs: packing: Fix a typo in example code. Fix misspelling of "typedef". Signed-off-by: Collin Funk Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/e532b992a79999d3405a363db4b2bd4504fed592.1749434907.git.collin.funk1@gmail.com --- 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),