aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/build_assert.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2025-06-10 11:08:56 +0000
committerViresh Kumar <[email protected]>2025-06-10 11:08:56 +0000
commit4823a58093c6dfa20df62b5c18da613621b9716e (patch)
tree4496dbaf4a8fb253a6fcad365ca846715a1c2f67 /rust/helpers/build_assert.c
parentLinux 6.16-rc1 (diff)
downloadkernel-4823a58093c6dfa20df62b5c18da613621b9716e.tar.gz
kernel-4823a58093c6dfa20df62b5c18da613621b9716e.zip
cpufreq: Convert `/// SAFETY` lines to `# Safety` sections
Replace `/// SAFETY` comments in doc comments with proper `# Safety` sections, as per rustdoc conventions. Also mark the C FFI callbacks as `unsafe` to correctly reflect their safety requirements. Reported-by: Miguel Ojeda <[email protected]> Closes: https://github.com/Rust-for-Linux/linux/issues/1169 Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions