* [PATCH 2/2] gpu: nova-core: use `c"literal"` instead of `c_str!()`
[not found] <20260610135716.1013688-1-gary@kernel.org>
@ 2026-06-10 13:57 ` Gary Guo
2026-06-10 15:28 ` Alexandre Courbot
0 siblings, 1 reply; 2+ messages in thread
From: Gary Guo @ 2026-06-10 13:57 UTC (permalink / raw)
To: Danilo Krummrich, Alexandre Courbot, Alice Ryhl, David Airlie,
Simona Vetter, Benno Lossin, Gary Guo
Cc: nova-gpu, dri-devel, linux-kernel, rust-for-linux
From: Gary Guo <gary@garyguo.net>
No functional changes intended.
Signed-off-by: Gary Guo <gary@garyguo.net>
---
drivers/gpu/nova-core/nova_core.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs
index 9f0199f7b38c..735b8e17c6b6 100644
--- a/drivers/gpu/nova-core/nova_core.rs
+++ b/drivers/gpu/nova-core/nova_core.rs
@@ -54,7 +54,7 @@ struct NovaCoreModule {
impl InPlaceModule for NovaCoreModule {
fn init(module: &'static kernel::ThisModule) -> impl PinInit<Self, Error> {
- let dir = debugfs::Dir::new(kernel::c_str!("nova-core"));
+ let dir = debugfs::Dir::new(c"nova-core");
// SAFETY: We are the only driver code running during init, so there
// cannot be any concurrent access to `DEBUGFS_ROOT`.
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread