summaryrefslogtreecommitdiff
path: root/rust/kernel/build_assert.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-11-23 21:06:38 +0300
committerMiguel Ojeda <ojeda@kernel.org>2025-01-10 02:17:25 +0300
commit2a87f8b075ea0ba33d3809aee7980c019f920bd6 (patch)
tree432eb26ca46cc8cd6492ae18e77ac41a0b038d07 /rust/kernel/build_assert.rs
parentf0915acd1fc6060a35e3f18673072671583ff0be (diff)
downloadlinux-2a87f8b075ea0ba33d3809aee7980c019f920bd6.tar.xz
rust: kbuild: run Clippy for `rusttest` code
Running Clippy for `rusttest` code is useful to catch issues there too, even if the code is not as critical. In the future, this code may also run in kernelspace and could be copy-pasted. Thus it is useful to keep it under the same standards. For instance, it will now make us add `// SAFETY` comments. It also makes everything more consistent. Thus clean the few issues spotted by Clippy and start running it. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20241123180639.260191-1-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/build_assert.rs')
0 files changed, 0 insertions, 0 deletions