diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2025-06-10 16:38:56 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-06-10 16:38:56 +0530 |
commit | 4823a58093c6dfa20df62b5c18da613621b9716e (patch) | |
tree | 4496dbaf4a8fb253a6fcad365ca846715a1c2f67 /rust/helpers/helpers.c | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
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 <ojeda@kernel.org>
Closes: https://github.com/Rust-for-Linux/linux/issues/1169
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions