Commit abc88ff
Danilo Krummrich
library: core: document layout guarantee of
Document the layout guarantee of `TypeId` not to exceed 16 bytes.
This is useful for FFI use-cases where a `TypeId` may be stored within a
foreign data structure or buffer.
An example for such a use-case can be found in [1].
Link: https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git/commit/?id=6f61a2637abe4f89877da3280775565baedb60e0 [1]
Suggested-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>TypeId
1 parent 292db4a commit abc88ff
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
614 | 618 | | |
615 | 619 | | |
616 | 620 | | |
| |||
0 commit comments