diff options
author | Collin Funk <collin.funk1@gmail.com> | 2025-06-08 19:13:30 -0700 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-06-09 12:29:50 -0600 |
commit | 97d91036a4ccbfd402bc8420d970cea250b2bb3c (patch) | |
tree | d8f895e3f03cfa54780994cbb89aa48adcdd6b45 | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
docs: packing: Fix a typo in example code.
Fix misspelling of "typedef".
Signed-off-by: Collin Funk <collin.funk1@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/e532b992a79999d3405a363db4b2bd4504fed592.1749434907.git.collin.funk1@gmail.com
-rw-r--r-- | Documentation/core-api/packing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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), |