summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorRoland Xu <mu001999@outlook.com>2024-05-22 19:08:46 +0300
committerMiguel Ojeda <ojeda@kernel.org>2024-07-08 23:39:39 +0300
commitfe7d9d804337180d2377f0654537970c6cd863f7 (patch)
treea35ee96e0f564e3590e1381f9f0c2ec70cf3bbcd /rust/helpers/build_bug.c
parent526c539452cec6e7e65776d5807e6c66dd65d636 (diff)
downloadlinux-fe7d9d804337180d2377f0654537970c6cd863f7.tar.xz
rust: kernel: make impl_has_work compatible with more generics
Make the impl_has_work macro compatible with more complex generics such as lifetimes and const generic arguments. Signed-off-by: Roland Xu <mu001999@outlook.com> Link: https://lore.kernel.org/r/ME0P282MB4890A180B99490CC65EF64FDCCEB2@ME0P282MB4890.AUSP282.PROD.OUTLOOK.COM Suggested-by: Benno Lossin <benno.lossin@proton.me> Link: https://github.com/Rust-for-Linux/linux/issues/1077 [ Wrapped message to 72 columns. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions