Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'rust-fixes-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux

Pull Rust fix from Miguel Ojeda:

- 'hrtimer': fix future compile error when the 'impl_has_hr_timer!'
macro starts to get called

* tag 'rust-fixes-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:
rust: time: Fix compile error in impl_has_hr_timer macro

+1 -1
+1 -1
rust/kernel/time/hrtimer.rs
··· 517 517 ) -> *mut Self { 518 518 // SAFETY: As per the safety requirement of this function, `ptr` 519 519 // is pointing inside a `$timer_type`. 520 - unsafe { ::kernel::container_of!(ptr, $timer_type, $field).cast_mut() } 520 + unsafe { ::kernel::container_of!(ptr, $timer_type, $field) } 521 521 } 522 522 } 523 523 }