diff --git a/dsp/q6afe.c b/dsp/q6afe.c index d20de05ca9cc..98f1aefd7c3a 100644 --- a/dsp/q6afe.c +++ b/dsp/q6afe.c @@ -281,7 +281,7 @@ static int q6afe_load_avcs_modules(int num_modules, u16 port_id, struct avcs_load_unload_modules_sec_payload sec_payload; if (num_modules <= 0) { - pr_err("%s: Invalid number of modules to load\n"); + pr_err("%s: Invalid number of modules to load\n", __func__); return -EINVAL; } diff --git a/dsp/q6core.c b/dsp/q6core.c index 6748b91951d5..8e8bedff42dd 100644 --- a/dsp/q6core.c +++ b/dsp/q6core.c @@ -937,7 +937,7 @@ int32_t q6core_avcs_load_unload_modules(struct avcs_load_unload_modules_payload int num_modules; if (payload == NULL) { - pr_err("%s: payload is null\n"); + pr_err("%s: payload is null\n", __func__); return -EINVAL; }