aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-resolve.sh
diff options
context:
space:
mode:
authorTamir Duberstein <[email protected]>2025-04-11 14:08:27 +0000
committerMiguel Ojeda <[email protected]>2025-05-28 23:34:52 +0000
commit1ce98bb2bb30713ec4374ef11ead0d7d3e856766 (patch)
tree651c364b02b9bc7ee99ce68ba0530dcac3f3e920 /scripts/git-resolve.sh
parentrust: retain pointer mut-ness in `container_of!` (diff)
downloadkernel-1ce98bb2bb30713ec4374ef11ead0d7d3e856766.tar.gz
kernel-1ce98bb2bb30713ec4374ef11ead0d7d3e856766.zip
rust: workqueue: remove HasWork::OFFSET
Implement `HasWork::work_container_of` in `impl_has_work!`, narrowing the interface of `HasWork` and replacing pointer arithmetic with `container_of!`. Remove the provided implementation of `HasWork::get_work_offset` without replacement; an implementation is already generated in `impl_has_work!`. Remove the `Self: Sized` bound on `HasWork::work_container_of` which was apparently necessary to access `OFFSET` as `OFFSET` no longer exists. A similar API change was discussed on the hrtimer series[1]. Link: https://lore.kernel.org/all/[email protected]/ [1] Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Tested-by: Alice Ryhl <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Signed-off-by: Tamir Duberstein <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/git-resolve.sh')
0 files changed, 0 insertions, 0 deletions