Skip to content

Commit c22bd4c

Browse files
committed
llext: (cosmetic) remove function names from logs
Zephyr logging adds function names automatically, no need to also provide them explicitly in format strings. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent bc82b88 commit c22bd4c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/library_manager/llext_manager.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -303,13 +303,11 @@ uintptr_t llext_manager_allocate_module(const struct comp_ipc_config *ipc_config
303303
const struct sof_module_api_build_info *buildinfo;
304304
const struct sof_man_module_manifest *mod_manifest;
305305

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

309308
desc = (struct sof_man_fw_desc *)lib_manager_get_library_manifest(module_id);
310309
if (!ctx || !desc) {
311-
tr_err(&lib_manager_tr,
312-
"llext_manager_allocate_module(): failed to get module descriptor");
310+
tr_err(&lib_manager_tr, "Failed to get module descriptor");
313311
return 0;
314312
}
315313

@@ -325,8 +323,7 @@ uintptr_t llext_manager_allocate_module(const struct comp_ipc_config *ipc_config
325323
/* First instance: check that the module is native */
326324
if (buildinfo->format != SOF_MODULE_API_BUILD_INFO_FORMAT ||
327325
buildinfo->api_version_number.full != SOF_MODULE_API_CURRENT_VERSION) {
328-
tr_err(&lib_manager_tr,
329-
"llext_manager_allocate_module(): Unsupported module API version");
326+
tr_err(&lib_manager_tr, "Unsupported module API version");
330327
return -ENOEXEC;
331328
}
332329

@@ -356,7 +353,7 @@ int llext_manager_free_module(const uint32_t component_id)
356353
const unsigned int base_module_id = LIB_MANAGER_GET_LIB_ID(module_id) <<
357354
LIB_MANAGER_LIB_ID_SHIFT;
358355

359-
tr_dbg(&lib_manager_tr, "llext_manager_free_module(): mod_id: %#x", component_id);
356+
tr_dbg(&lib_manager_tr, "mod_id: %#x", component_id);
360357

361358
mod = lib_manager_get_module_manifest(base_module_id);
362359

0 commit comments

Comments
 (0)