summaryrefslogtreecommitdiffstats
path: root/rust/kernel/init/macros.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2023-07-18 07:27:47 +0200
committerShuah Khan <skhan@linuxfoundation.org>2023-07-18 23:38:20 +0200
commita30e94c2967308d45dcecfd1eede50fc3f6495eb (patch)
tree1c6e022b1c747e9eb6c9576f3460b4c443eff464 /rust/kernel/init/macros.rs
parentkunit: test-bug.h: include `stddef.h` for `NULL` (diff)
downloadlinux-a30e94c2967308d45dcecfd1eede50fc3f6495eb.tar.xz
linux-a30e94c2967308d45dcecfd1eede50fc3f6495eb.zip
rust: init: make doctests compilable/testable
Rust documentation tests are going to be build/run-tested with the KUnit integration added in a future patch, thus update them to make them compilable/testable so that we may start enforcing it. Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Reviewed-by: David Gow <davidgow@google.com> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Björn Roy Baron <bjorn3_gh@protonmail.com> Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/init/macros.rs')
0 files changed, 0 insertions, 0 deletions