Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,8 +830,8 @@ static int pack_kernel_interface(Options *op, Package *p,


static void handle_optional_module_failure(Options *op,
KernelModuleInfo module,
const char *action) {
KernelModuleInfo *module,
const char *action) {
if (module.is_optional) {
ui_error(op, "The %s kernel module failed to %s. This kernel module "
"is required for the proper operation of %s. If you do not "
Expand Down Expand Up @@ -2413,7 +2413,7 @@ int remove_kernel_module_from_package(Package *p, const char *module)
}


void free_kernel_module_info(KernelModuleInfo info)
void free_kernel_module_info(const KernelModuleInfo &info)
{
nvfree(info.module_name);
nvfree(info.module_filename);
Expand Down
2 changes: 1 addition & 1 deletion precompiled.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ void free_precompiled(PrecompiledInfo *info)



void free_precompiled_file_data(PrecompiledFileInfo fileInfo)
void free_precompiled_file_data(const PrecompiledFileInfo &fileInfo)
{
nvfree(fileInfo.name);
nvfree(fileInfo.linked_module_name);
Expand Down