mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 14:33:24 -04:00
gpu: nova-core: use c"literal" instead of c_str!()
No functional changes intended. Signed-off-by: Gary Guo <gary@garyguo.net> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Link: https://patch.msgid.link/20260610135716.1013688-2-gary@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
committed by
Danilo Krummrich
parent
e453072df2
commit
550dc75366
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user