Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Collin Funk and committed by
Jonathan Corbet
97d91036 19272b37

+1 -1
+1 -1
Documentation/core-api/packing.rst
··· 319 319 320 320 #define SIZE 13 321 321 322 - typdef struct __packed { u8 buf[SIZE]; } packed_buf_t; 322 + typedef struct __packed { u8 buf[SIZE]; } packed_buf_t; 323 323 324 324 static const struct packed_field_u8 fields[] = { 325 325 PACKED_FIELD(100, 90, struct data, field1),