Re: [PATCH] rust_binder: Fix build failure if !CONFIG_COMPAT
From: Alice Ryhl
Date: Sat Dec 27 2025 - 07:35:24 EST
On Thu, Dec 11, 2025 at 2:26 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
>
> On Tue, Dec 09, 2025 at 08:50:19PM +0800, Xi Ruoyao wrote:
> > The bindgen utility cannot handle "#define compat_ptr_ioctl NULL" in the
> > C header, so we need to handle this case on our own.
> >
> > Simply skip this field in the initializer when !CONFIG_COMPAT as the
> > SAFETY comment above this initializer implies this is allowed.
> >
> > Reported-by: Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx>
this should use Miguel's kernel.org email address for the Reported-by tag.