summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2025-12-09 15:50:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-29 14:16:38 +0300
commit174e2a339bf731e080ced67c215ad609a677560b (patch)
tree3642c99b0cc0f0d594566c8626953af224ed51b9 /include/linux/raid
parent46c549ef78899addd7c6adc407621640778fad1e (diff)
downloadlinux-174e2a339bf731e080ced67c215ad609a677560b.tar.xz
rust_binder: Fix build failure if !CONFIG_COMPAT
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@gmail.com> Closes: https://lore.kernel.org/all/CANiq72mrVzqXnAV=Hy2XBOonLHA6YQgH-ckZoc_h0VBvTGK8rA@mail.gmail.com/ Signed-off-by: Xi Ruoyao <xry111@xry111.site> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://patch.msgid.link/20251209125029.1117897-1-xry111@xry111.site Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions