diff options
author | 2025-03-14 17:09:04 +0100 | |
---|---|---|
committer | 2025-03-17 08:04:25 +0100 | |
commit | d1f6d6c537d488b1a8f04091c7751124985a0ab9 (patch) | |
tree | ac8680355da2ca0bfd5a7ba4f19f4514a2c76152 /net/lapb/lapb_timer.c | |
parent | MAINTAINERS: driver core: mark Rafael and Danilo as co-maintainers (diff) | |
download | wireguard-linux-d1f6d6c537d488b1a8f04091c7751124985a0ab9.tar.xz wireguard-linux-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 <benno.lossin@proton.me>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20250314160932.100165-2-dakr@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions