summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2026-08-29 15:15:36 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-09-04 17:58:47 +0200
commitc3d4fd0e9d27651d2daf223fa72128633a082b05 (patch)
tree96da3e8a304d4849ea99901fa31a6ba4cdddb327 /tools/lib/python/kdoc/python_version.py
parentf6b56da8e1b8217e5516290ef9b09728a8f96a10 (diff)
samples: rust_dma: separate driver type from driver data
Split DmaSampleDriver into a driver type and a separate DmaSampleData struct for the driver's bus device private data, using DmaSampleData<'bound> as the Driver::Data<'bound> associated type. Store a &'bound pci::Device<Bound> reference instead of an ARef<pci::Device>, tying the data to the device's bound scope. This prepares for adding a lifetime parameter to dma::Coherent, which requires the data type to carry a lifetime. Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260830193824.471089-4-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions