mirror of
https://github.com/torvalds/linux.git
synced 2025-11-30 23:16:01 +07:00
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:
committed by
Jonathan Corbet
parent
19272b37aa
commit
97d91036a4
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user