aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <[email protected]>2025-06-06 02:05:05 +0000
committerMiguel Ojeda <[email protected]>2025-06-10 18:11:36 +0000
commit5b2d595efbfc9c46823bdb9ef11e1f9fa46adf9d (patch)
tree57ca05c694fe05f340071dfa5b2eaaccade5aa04 /lib/crypto/mpi/mpi-mul.c
parentLinux 6.16-rc1 (diff)
downloadkernel-5b2d595efbfc9c46823bdb9ef11e1f9fa46adf9d.tar.gz
kernel-5b2d595efbfc9c46823bdb9ef11e1f9fa46adf9d.zip
rust: time: Fix compile error in impl_has_hr_timer macro
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: 74d6a606c2b3 ("rust: retain pointer mut-ness in `container_of!`") Signed-off-by: FUJITA Tomonori <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Acked-by: Andreas Hindborg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions