summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMohamad Alsadhan <mo@sdhn.cc>2026-04-28 16:10:53 +0300
committerGary Guo <gary@garyguo.net>2026-05-11 00:58:33 +0300
commitde54c2cb052952df2a6f91617471d1f02f213d4e (patch)
treef93cca091dc01529b863d754dc122a808cd41502 /include/linux/debugobjects.h
parent04828a538da2bed3150116929306f849a3337a37 (diff)
downloadlinux-de54c2cb052952df2a6f91617471d1f02f213d4e.tar.xz
rust: pin-init: extend `impl_zeroable_option` macro to handle generics
Improve impl_zeroable_option macro to handle generic impls for types like `&T`, `&mut T`, `NonNull<T>`, and others (for which `Option<T>` is guaranteed to be zeroable) with similar approach to `impl_zeroable`. Also, update old declarations to use generics e.g. `NonZeroU8` to `NonZero<u8>`. Signed-off-by: Mohamad Alsadhan <mo@sdhn.cc> Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260428-pin-init-sync-v1-4-07f9bd3859fb@garyguo.net Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions