projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19272b3
)
docs: packing: Fix a typo in example code.
author
Collin Funk
<collin.funk1@gmail.com>
Mon, 9 Jun 2025 02:13:30 +0000
(19:13 -0700)
committer
Jonathan Corbet
<corbet@lwn.net>
Mon, 9 Jun 2025 18:29:50 +0000
(12:29 -0600)
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
Documentation/core-api/packing.rst
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/core-api/packing.rst
b/Documentation/core-api/packing.rst
index 0ce2078c8e13dd54a5ab215ecebae750ef173ae9..f68f1e08fef919f41e9928010d28a55a2dccb979 100644
(file)
--- 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;
+ typ
e
def struct __packed { u8 buf[SIZE]; } packed_buf_t;
static const struct packed_field_u8 fields[] = {
PACKED_FIELD(100, 90, struct data, field1),