Skip to content

Move kmod_module_new_from_alias logic into kmod_module_new #441

Description

@ysfgalip

I came across the following TODO:

/* TODO: rework to create the hash within this function and remove the _maybe_unused_
* workaround */

after inspecting the usages of this function, I think that it is possible to move the logic of kmod_module_new_from_alias

int kmod_module_new_from_alias(struct kmod_ctx *ctx, const char *alias, const char *name,
struct kmod_module **mod)

into kmod_module_new and updating the callers to call kmod_module_new

I am waiting for a response before starting to implement the changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions