diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2025-04-13 19:36:59 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2025-04-17 15:21:45 +0200 |
| commit | da6c47c6cb45ffb392e016631c08098ad2a6d418 (patch) | |
| tree | 1ce1f64af980ee29a0cceecbd5e84e639723e9a4 /drivers/infiniband/hw/ionic/ionic_datapath.c | |
| parent | d32e4c24a7fe01195ba427c67fc15864279a3c0d (diff) | |
rust: platform: preserve device context in AsRef
Since device::Device has a generic over its context, preserve this
device context in AsRef.
For instance, when calling platform::Device<Core> the new AsRef
implementation returns device::Device<Core>.
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Link: https://lore.kernel.org/r/20250413173758.12068-5-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions
