summaryrefslogtreecommitdiff
path: root/scripts/jobserver-exec
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-02-01 22:06:20 +0300
committerTejun Heo <tj@kernel.org>2024-02-01 22:26:00 +0300
commit3e0bc2855b573bcffa2a52955a878f537f5ac0cd (patch)
treedc07a60cbdc15a666c42bbd44088f88eafb641d0 /scripts/jobserver-exec
parentc5f8cd6c62ce02205ced15e9a998103f21ec5455 (diff)
downloadlinux-3e0bc2855b573bcffa2a52955a878f537f5ac0cd.tar.xz
workqueue: rust: sync with `WORK_CPU_UNBOUND` change
Commit e563d0a7cdc1 ("workqueue: Break up enum definitions and give names to the types") gives a name to the `enum` where `WORK_CPU_UNBOUND` was defined, so `bindgen` changes its output from e.g.: pub type _bindgen_ty_10 = core::ffi::c_uint; pub const WORK_CPU_UNBOUND: _bindgen_ty_10 = 64; to e.g.: pub type wq_misc_consts = core::ffi::c_uint; pub const wq_misc_consts_WORK_CPU_UNBOUND: wq_misc_consts = 64; Thus update Rust's side to match the change (which requires a slight reformat of the code), fixing the build error. Closes: https://lore.kernel.org/rust-for-linux/CANiq72=9PZ89bCAVX0ZV4cqrYSLoZWyn-d_K4KpBMHjwUMdC3A@mail.gmail.com/ Fixes: e563d0a7cdc1 ("workqueue: Break up enum definitions and give names to the types") Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/jobserver-exec')
0 files changed, 0 insertions, 0 deletions