Skip to content

Commit e675c7a

Browse files
committed
llext: fix an error code
llext_manager_allocate_module() should return 0 when failing, not an error code. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 8e33542 commit e675c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library_manager/llext_manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ uintptr_t llext_manager_allocate_module(struct processing_module *proc,
336336
if (buildinfo->format != SOF_MODULE_API_BUILD_INFO_FORMAT ||
337337
buildinfo->api_version_number.full != SOF_MODULE_API_CURRENT_VERSION) {
338338
tr_err(&lib_manager_tr, "Unsupported module API version");
339-
return -ENOEXEC;
339+
return 0;
340340
}
341341

342342
/* Map executable code and data */

0 commit comments

Comments
 (0)