diff options
| author | Filipe Xavier <[email protected]> | 2024-09-13 10:19:56 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-10-07 19:39:57 +0000 |
| commit | 5ed147473458f8c20f908a03227d8f5bb3cb8f7d (patch) | |
| tree | 315abe4024dcfd671a806f0eed01686267380566 /rust/helpers/spinlock.c | |
| parent | rust: enable arbitrary_self_types and remove `Receiver` (diff) | |
| download | kernel-5ed147473458f8c20f908a03227d8f5bb3cb8f7d.tar.gz kernel-5ed147473458f8c20f908a03227d8f5bb3cb8f7d.zip | |
rust: error: make conversion functions public
Change visibility to public of functions in error.rs:
from_err_ptr, from_errno, from_result and to_ptr.
Additionally, remove dead_code annotations.
Link: https://github.com/Rust-for-Linux/linux/issues/1105
Reviewed-by: Alice Ryhl <[email protected]>
Signed-off-by: Filipe Xavier <[email protected]>
Reviewed-by: Benno Lossin <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Link: https://lore.kernel.org/r/DM4PR14MB7276E6948E67B3B23D8EA847E9652@DM4PR14MB7276.namprd14.prod.outlook.com
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers/spinlock.c')
0 files changed, 0 insertions, 0 deletions
