Re: [PATCH] cpufreq: Convert `/// SAFETY` lines to `# Safety` sections

From: Viresh Kumar
Date: Wed Jun 11 2025 - 21:38:06 EST


On 11-06-25, 13:46, Miguel Ojeda wrote:
> On Tue, Jun 10, 2025 at 1:23 PM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> >
> > 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.
>
> +1 I guess the Clippy lint triggered when writing the section, right?

Yes.

--
viresh