diff options
| author | Danilo Krummrich <[email protected]> | 2025-03-14 16:09:04 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-03-17 07:04:25 +0000 |
| commit | d1f6d6c537d488b1a8f04091c7751124985a0ab9 (patch) | |
| tree | ac8680355da2ca0bfd5a7ba4f19f4514a2c76152 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | MAINTAINERS: driver core: mark Rafael and Danilo as co-maintainers (diff) | |
| download | kernel-d1f6d6c537d488b1a8f04091c7751124985a0ab9.tar.gz kernel-d1f6d6c537d488b1a8f04091c7751124985a0ab9.zip | |
rust: pci: use to_result() in enable_device_mem()
Simplify enable_device_mem() by using to_result() to handle the return
value of the corresponding FFI call.
Reviewed-by: Benno Lossin <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Acked-by: Boqun Feng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
