Re: [PATCH 1/2] rust/faux: Drop #[repr(transparent)] from faux::Registration

Danilo Krummrich
2025-02-25T22:07:06Z

On Tue, Feb 25, 2025 at 04:29:00PM -0500, Lyude Paul wrote:
> I think this change got missed during review, we don't need
> #[repr(transparent)] since Registration just holds a single NonNull. This
> attribute had originally been added by me when I was still figuring out how
> the bindings should look like but got committed by mistake. So, just drop
> it.
>
> Signed-off-by: Lyude Paul <lyude@redhat.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Acked-by: Danilo Krummrich <dakr@kernel.org>