History

Merge tag 'drm-rust-fixes-2026-03-12' of https://gitlab.freedesktop.org/drm/rust/kernel into drm-fixes

Core Changes: - Fix safety issue in dma_read! and dma_write!. Driver Changes (Nova Core): - Fix UB in DmaGspMem pointer accessors. - Fix stack overflow in GSP memory allocation. Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie committed 8 months ago

Commit b28913e2 parents dd03650 0073a1710 files · +534 −195Browse files

Showing the changes to scripts (1 of 10 files). Show all

Unified · Split

scripts/Makefile.build+3−1
@@ -310,16 +310,18 @@ $(obj)/%.lst: $(obj)/%.c FORCE · 309 unmodified lines
310310
311311 # The features in this list are the ones allowed for non-`rust/` code.
312312 #
313+# - Stable since Rust 1.79.0: `feature(slice_ptr_len)`.
313314 # - Stable since Rust 1.81.0: `feature(lint_reasons)`.
314315 # - Stable since Rust 1.82.0: `feature(asm_const)`,
315316 # `feature(offset_of_nested)`, `feature(raw_ref_op)`.
317+# - Stable since Rust 1.84.0: `feature(strict_provenance)`.
316318 # - Stable since Rust 1.87.0: `feature(asm_goto)`.
317319 # - Expected to become stable: `feature(arbitrary_self_types)`.
318320 # - To be determined: `feature(used_with_arg)`.
319321 #
320322 # Please see https://github.com/Rust-for-Linux/linux/issues/2 for details on
321323 # the unstable features in use.
322−rust_allowed_features := asm_const,asm_goto,arbitrary_self_types,lint_reasons,offset_of_nested,raw_ref_op,used_with_arg
324+rust_allowed_features := asm_const,asm_goto,arbitrary_self_types,lint_reasons,offset_of_nested,raw_ref_op,slice_ptr_len,strict_provenance,used_with_arg
323325
324326 # `--out-dir` is required to avoid temporaries being created by `rustc` in the
325327 # current working directory, which may be not accessible in the out-of-tree