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

From: Greg Kroah-Hartman

Date: Fri Oct 02 2026 - 10:04:09 EST


On Fri, Oct 02, 2026 at 03:17:13PM +0200, Miguel Ojeda wrote:
> 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.

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>