Files
linux/rust/kernel
Baptiste Lepers ffe015e8e3 rust: cpumask: Mark CpumaskVar as transparent
[ Upstream commit 23fca458f6 ]

Unsafe code in CpumaskVar's methods assumes that the type has the same
layout as `bindings::cpumask_var_t`. This is not guaranteed by
the default struct representation in Rust, but requires specifying the
`transparent` representation.

Fixes: 8961b8cb30 ("rust: cpumask: Add initial abstractions")
Signed-off-by: Baptiste Lepers <baptiste.lepers@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-15 12:03:19 +02:00
..
2025-10-12 13:01:55 +02:00
2025-10-12 13:01:55 +02:00
2025-06-22 23:09:32 +02:00
2025-08-27 22:45:41 -07:00
2025-07-23 02:05:58 +02:00
2025-07-23 02:05:58 +02:00
2025-08-13 17:40:28 +02:00
2025-07-21 01:16:35 +02:00
2025-07-19 23:18:18 +02:00
2024-10-08 15:44:36 +02:00
2025-07-21 01:16:35 +02:00
2024-11-04 16:21:44 -05:00