Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpu: nova-core: bindings: remove unneeded `cfg_attr`

These were likely copied from the `bindings` and `uapi` crates, but are
unneeded since there are no `cfg(test)`s in the bindings.

In addition, the issue that triggered the addition in those crates
originally is also fixed in `bindgen` (please see the previous commit).

Thus remove them.

Reviewed-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260405235309.418950-5-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

-3
-3
drivers/gpu/nova-core/gsp/fw/r570_144.rs
··· 7 7 //! This module may not be directly used. Please abstract or re-export the needed symbols in the 8 8 //! parent module instead. 9 9 10 - #![cfg_attr(test, allow(deref_nullptr))] 11 - #![cfg_attr(test, allow(unaligned_references))] 12 - #![cfg_attr(test, allow(unsafe_op_in_unsafe_fn))] 13 10 #![allow( 14 11 dead_code, 15 12 clippy::all,