summaryrefslogtreecommitdiff
path: root/rust/kernel/time/hrtimer.rs
diff options
context:
space:
mode:
authorUwe Kleine-König <ukleinek@kernel.org>2025-07-09 10:48:21 +0200
committerUwe Kleine-König <ukleinek@kernel.org>2025-07-09 10:48:21 +0200
commit2b2aeaa12c804e52f2ba635899f2b7f2d4623874 (patch)
tree4b7f9abb6af166b70ab177ab0458b8984f005ee2 /rust/kernel/time/hrtimer.rs
parentedd3bcb1801e1bb98f4f81485140e18c86406ced (diff)
parentcd4da713f99651e99fbce8ed6b6ec8f686c029a8 (diff)
Merge tag 'pm-runtime-6.17-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Runtime PM updates related to autosuspend for 6.17 Make several autosuspend functions mark last busy stamp and update the documentation accordingly (Sakari Ailus).
Diffstat (limited to 'rust/kernel/time/hrtimer.rs')
-rw-r--r--rust/kernel/time/hrtimer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/time/hrtimer.rs b/rust/kernel/time/hrtimer.rs
index 9df3dcd2fa39..36e1290cd079 100644
--- a/rust/kernel/time/hrtimer.rs
+++ b/rust/kernel/time/hrtimer.rs
@@ -517,7 +517,7 @@ macro_rules! impl_has_hr_timer {
) -> *mut Self {
// SAFETY: As per the safety requirement of this function, `ptr`
// is pointing inside a `$timer_type`.
- unsafe { ::kernel::container_of!(ptr, $timer_type, $field).cast_mut() }
+ unsafe { ::kernel::container_of!(ptr, $timer_type, $field) }
}
}
}