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
This commit is contained in:
Collin Funk
2025-06-08 19:13:30 -07:00
committed by Jonathan Corbet
parent 19272b37aa
commit 97d91036a4

View File

@@ -319,7 +319,7 @@ Here is an example of how to use the fields APIs:
#define SIZE 13 #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[] = { static const struct packed_field_u8 fields[] = {
PACKED_FIELD(100, 90, struct data, field1), PACKED_FIELD(100, 90, struct data, field1),