diff options
| author | Benno Lossin <[email protected]> | 2025-05-23 14:50:57 +0000 |
|---|---|---|
| committer | Benno Lossin <[email protected]> | 2025-06-11 19:13:56 +0000 |
| commit | 101b7cf006d4b4b98652bd15dc36e63ede8f8ad8 (patch) | |
| tree | e41ff1eb71561024bd85b700727ef30359a29e85 /rust/pin-init/examples/static_init.rs | |
| parent | rust: pin-init: feature-gate the `stack_init_reuse` test on the `std` feature (diff) | |
| download | kernel-101b7cf006d4b4b98652bd15dc36e63ede8f8ad8.tar.gz kernel-101b7cf006d4b4b98652bd15dc36e63ede8f8ad8.zip | |
rust: pin-init: rename `zeroed` to `init_zeroed`
The name `zeroed` is a much better fit for a function that returns the
type by-value.
Link: https://github.com/Rust-for-Linux/pin-init/pull/56/commits/7dbe38682c9725405bab91dcabe9c4d8893d2f5e
[ also rename uses in `rust/kernel/init.rs` - Benno]
Link: https://lore.kernel.org/all/[email protected]
[ Fix wrong replacement of `mem::zeroed` in the definition of `trait
Zeroable`. - Benno ]
[ Also change occurrences of `zeroed` in `configfs.rs` - Benno ]
Acked-by: Andreas Hindborg <[email protected]>
Signed-off-by: Benno Lossin <[email protected]>
Diffstat (limited to 'rust/pin-init/examples/static_init.rs')
0 files changed, 0 insertions, 0 deletions
