diff options
| author | Gary Guo <gary@garyguo.net> | 2026-01-12 17:07:22 +0000 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-01-28 13:44:17 +0100 |
| commit | be97f3c82021239476ce32cddde32948c597753e (patch) | |
| tree | fb5648ed92107c06dbf97d2bdc5d1f4068cc4cd7 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | d421fa4f73f59c512b30338a3453b62ed8fd9122 (diff) | |
rust: kunit: use `pin_init::zeroed` instead of custom null value
The last null element can be created (constly) using `pin_init::zeroed`,
so prefer to use it instead of adding a custom way of building it.
Reviewed-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: David Gow <davidgow@google.com>
Link: https://patch.msgid.link/20260112170919.1888584-12-gary@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
