Re: [PATCH 1/3] rust: use the `build_error!` macro, not the hidden function

From: Alice Ryhl
Date: Mon Nov 25 2024 - 04:11:41 EST


On Sat, Nov 23, 2024 at 11:29 PM Miguel Ojeda <ojeda@xxxxxxxxxx> wrote:
>
> Code and some examples were using the function, rather than the macro. The
> macro is what is documented.
>
> Thus move users to the macro.
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

I've introduced a few more instances of this in the miscdevices
series, so you probably want to amend this to also fix those.

Either way:

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>