Re: [PATCH v8 11/29] rust: alloc: implement kernel `Box`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 1, 2024 at 5:01 PM Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> +    /// # Examples
> +    ///
> +    /// ```
> +    /// let x = KBox::new(24, GFP_KERNEL)?;
> +    /// let ptr = KBox::into_raw(x);
> +    /// let x = unsafe { KBox::from_raw(ptr) };

This is the only place that, after applying your series on top of the
lints one (i.e. current `rust-next`), triggered a missing `// SAFETY`
comment lint :)

If there is no new version, what do you want me to write when I apply it?

Thanks!

Cheers,
Miguel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux