Skip to content

Commit

Permalink
llext: (cosmetic) remove function names from logging
Browse files Browse the repository at this point in the history
Zephyr logging prints function names, no need to include them
explicitly.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh committed Dec 3, 2024
1 parent b7674d2 commit bade3d9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/library_manager/llext_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,10 @@ uintptr_t llext_manager_allocate_module(struct processing_module *proc,
mod_size);
struct module_data *md = &proc->priv;

tr_dbg(&lib_manager_tr, "llext_manager_allocate_module(): mod_id: %#x",
ipc_config->id);
tr_dbg(&lib_manager_tr, "mod_id: %#x", ipc_config->id);

if (!ctx || !desc) {
tr_err(&lib_manager_tr,
"llext_manager_allocate_module(): failed to get module descriptor");
tr_err(&lib_manager_tr, "failed to get module descriptor");
return 0;
}

Expand All @@ -336,8 +334,7 @@ uintptr_t llext_manager_allocate_module(struct processing_module *proc,
/* First instance: check that the module is native */
if (buildinfo->format != SOF_MODULE_API_BUILD_INFO_FORMAT ||
buildinfo->api_version_number.full != SOF_MODULE_API_CURRENT_VERSION) {
tr_err(&lib_manager_tr,
"llext_manager_allocate_module(): Unsupported module API version");
tr_err(&lib_manager_tr, "Unsupported module API version");
return -ENOEXEC;
}

Expand All @@ -359,7 +356,7 @@ int llext_manager_free_module(const uint32_t component_id)
const unsigned int base_module_id = LIB_MANAGER_GET_LIB_ID(module_id) <<
LIB_MANAGER_LIB_ID_SHIFT;

tr_dbg(&lib_manager_tr, "llext_manager_free_module(): mod_id: %#x", component_id);
tr_dbg(&lib_manager_tr, "mod_id: %#x", component_id);

return llext_manager_unload_module(base_module_id);
}
Expand Down

0 comments on commit bade3d9

Please sign in to comment.