Re: [PATCH 3/3] rust: misc: use `#[optional]` attribute of `#[vtable]` macro

From: Miguel Ojeda

Date: Fri Oct 02 2026 - 09:22:00 EST


On Tue, Aug 11, 2026 at 3:56 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> Replace the `build_error!(VTABLE_DEFAULT_ERROR)` boilerplate with the
> `#[optional]` attribute.
>
> Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>

Arnd, Greg: may I get a quick Acked-by on this patch?

It is a change that simplifies boilerplate -- no "real" change for
you; miscdevice is just the example for the series.

Thanks!

Cheers,
Miguel