Re: [PATCH 3/7] gpu: nova-core: rename module from nova_core to nova-core
From: John Hubbard
Date: Fri May 01 2026 - 06:38:56 EST
On 5/1/26 5:25 AM, Alexandre Courbot wrote:
On Fri May 1, 2026 at 12:07 AM JST, Joel Fernandes wrote:...
On 4/30/2026 10:55 AM, Alexandre Courbot wrote:
Lets make this: `nova-core-y := nova-core-mod.o`?
We would have to rename `nova_core.rs` to `nova_core_mod.rs` though.
But your argument has a point generally speaking - if there wasn't
any underscore in the module's name, then we would have to pick a
different name anyway.
Another option would be to use the Rust-idiomatic `lib.rs`. That's what
the kernel crate and others do.
"lib" (or something like that) is better, because we will want to avoid "mod" in the name. There is plenty of "mod" naming floating around
already, due to how kbuild names its artifacts, so adding more "mod"
will not increase our happiness. :)
$ ls -a | grep mod | grep nova
nova_core.mod
nova_core.mod.c
.nova_core.mod.cmd
nova_core.mod.o
.nova_core.mod.o.cmd
thanks,
--
John Hubbard