Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dkms] Match the module name to what is in Kbuild #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tsirakisn
Copy link
Contributor

Kbuild generates the .ko name from the contents of the Kbuild file, but these lines do not match the module name defined in dkms.conf. This commit aligns the two.

Signed-off-by: Nicholas Tsirakis [email protected]

@crogers1 crogers1 self-requested a review October 24, 2022 21:12
@jandryuk
Copy link
Contributor

I think it would be better to leave the module name as xen-argo.ko and just change dkms.conf. Would that work for you?

This module is xen-specific, so including xen in the name helps identify that. argo.ko on its own doesn't tell you anything unless you already know what it is.

Also wouldn't renaming this module require changes to xenclient-oe since that uses the name xen-argo already?

@tsirakisn
Copy link
Contributor Author

tsirakisn commented Oct 25, 2022

I think it would be better to leave the module name as xen-argo.ko and just change dkms.conf. Would that work for you?

This module is xen-specific, so including xen in the name helps identify that. argo.ko on its own doesn't tell you anything unless you already know what it is.

FWIW I agree with this. I was following the convention that someone had introduced in an earlier commit (d24274e). I guess OpenXT never uses dkms to build the argo driver, so it must have just been a dormant bug since that change. I'll reverse this as requested and keep xen-argo as the module name.

Kbuild generates the .ko name from the contents of the
Kbuild file, but these lines do not match the module
name defined in dkms.conf. This commit aligns the two.

Signed-off-by: Nicholas Tsirakis <[email protected]>
@tsirakisn tsirakisn changed the title [kbuild] Match the module name to what is in dkms.conf [dkms] Match the module name to what is in Kbuild Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants