mirror of
https://github.com/torvalds/linux.git
synced 2025-08-17 23:22:18 +02:00
![]() Fix a compile error in the `impl_has_hr_timer!` macro as follows:
error[E0599]: no method named cast_mut found for raw pointer *mut Foo in the current scope
The `container_of!` macro already returns a mutable pointer when used
in a `*mut T` context so the `.cast_mut()` method is not available.
[ We missed this one because there is no caller yet and it is
a macro. - Miguel ]
Fixes:
|
||
---|---|---|
.. | ||
hrtimer | ||
hrtimer.rs |