]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust/faux: Drop #[repr(transparent)] from faux::Registration
authorLyude Paul <lyude@redhat.com>
Tue, 25 Feb 2025 21:29:00 +0000 (16:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2025 02:02:24 +0000 (18:02 -0800)
commit6853d9d13dbe596a73ae968e6fb27ba9680b2441
tree4b5525654583cfeacd27f76ac0b4202ebaad9ad5
parent040b17ae0e15bd7100432e0a20c6557d463a8c9f
rust/faux: Drop #[repr(transparent)] from faux::Registration

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>
Reviewed-by: Fiona Behrens <me@Kloenk.dev>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250225213112.872264-2-lyude@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/faux.rs