From 1855f423bb7d58eae36e352cf2d2c7dd2b5595ff Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Fri, 6 Feb 2026 12:24:05 +0100 Subject: [PATCH] audio: module-adapter: fix a print and a comment Simplify a warning message and fix a typo in a comment. Signed-off-by: Guennadi Liakhovetski --- src/audio/module_adapter/module_adapter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/audio/module_adapter/module_adapter.c b/src/audio/module_adapter/module_adapter.c index e42b05daf8c6..2829776ad6be 100644 --- a/src/audio/module_adapter/module_adapter.c +++ b/src/audio/module_adapter/module_adapter.c @@ -210,8 +210,7 @@ struct comp_dev *module_adapter_new_ext(const struct comp_driver *drv, comp_cl_dbg(drv, "start"); if (!config) { - comp_cl_err(drv, "wrong input params! drv = %zx config = %zx", - (size_t)drv, (size_t)config); + comp_cl_err(drv, "NULL config! drv = %p", drv); return NULL; } #if CONFIG_IPC_MAJOR_4 @@ -248,8 +247,7 @@ struct comp_dev *module_adapter_new_ext(const struct comp_driver *drv, * NOTE: dst->ext_data points to stack variable and contains * pointers to IPC payload mailbox, so its only valid in * functions that called from this function. This why - * the pointer is set NULL before the this function - * exits. + * the pointer is set NULL before this function exits. */ #if CONFIG_IPC_MAJOR_4 dst->ext_data = &ext_data;