[PATCH 2/2] gpu: nova-core: use `c"literal"` instead of `c_str!()`

From: Gary Guo

Date: Wed Jun 10 2026 - 10:05:13 EST


From: Gary Guo <gary@xxxxxxxxxxx>

No functional changes intended.

Signed-off-by: Gary Guo <gary@xxxxxxxxxxx>
---
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