Re: [PATCH] miscdevice: rust: use build_error! macro instead of function

From: Miguel Ojeda
Date: Fri Jan 10 2025 - 05:38:33 EST


On Fri, Jan 10, 2025 at 11:15 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> The function called build_error is an implementation detail of the macro
> of the same name. Thus, update miscdevice to use the macro rather than
> the function. See [1] for more information on this.
>
> This use the macro with the kernel:: prefix as it has not yet been added
> to the prelude.

Typo: "These"

Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Thanks!

Cheers,
Miguel