aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpicoder.c
diff options
context:
space:
mode:
authorRitvik Gupta <[email protected]>2025-07-13 19:02:44 +0000
committerViresh Kumar <[email protected]>2025-07-15 03:01:12 +0000
commita507f8230d60d7e21aac390ee83eb625cb6021d9 (patch)
treea9f868f0ba207e8aec4a3d33d76e8c32620d5e30 /lib/crypto/mpi/mpicoder.c
parentcpufreq: tegra124: Allow building as a module (diff)
downloadkernel-a507f8230d60d7e21aac390ee83eb625cb6021d9.tar.gz
kernel-a507f8230d60d7e21aac390ee83eb625cb6021d9.zip
rust: cpumask: Replace `MaybeUninit` and `mem::zeroed` with `Opaque` APIs
Replace the following unsafe initializations: 1. `MaybeUninit::uninit().assume_init()` with `Opaque::uninit()` 2. `core::mem::zeroed()` with `Opaque::zeroed()` Suggested-by: Benno Lossin <[email protected]> Link: https://github.com/Rust-for-Linux/linux/issues/1178 Suggested-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/rust-for-linux/CAH5fLgj0OoCn56OkNUmiPQ=RAVa_VmS-yMZ4TNBSpGPNtZ5D0A@mail.gmail.com/ Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Signed-off-by: Ritvik Gupta <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions