diff options
| author | 2026-01-07 11:35:03 +0100 | |
|---|---|---|
| committer | 2026-01-16 01:17:29 +0100 | |
| commit | c1d4519e1c36ffa01973e23af4502e69dcd84f39 (patch) | |
| tree | 26e7f83683b1feefa4a9606cdde88143bffc770f /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | rust: driver: introduce a DriverLayout trait (diff) | |
rust: driver: add DEVICE_DRIVER_OFFSET to the DriverLayout trait
Add an associated const DEVICE_DRIVER_OFFSET to the DriverLayout trait
indicating the offset of the embedded struct device_driver within
Self::DriverType, i.e. the specific driver structs, such as struct
pci_driver or struct platform_driver.
Acked-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Igor Korotin <igor.korotin.linux@gmail.com>
Link: https://patch.msgid.link/20260107103511.570525-5-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
