From ab3c156d44ddae7519e4470fd6ddd7666db407c6 Mon Sep 17 00:00:00 2001 From: Jaska Uimonen Date: Wed, 2 Nov 2022 14:00:45 +0200 Subject: [PATCH] eq_fir: fix functions arguments for sparse_cache Fix sparse warnings about wrong address space. Signed-off-by: Jaska Uimonen --- src/audio/eq_fir/eq_fir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/audio/eq_fir/eq_fir.c b/src/audio/eq_fir/eq_fir.c index 57649aec9..56aa252c6 100644 --- a/src/audio/eq_fir/eq_fir.c +++ b/src/audio/eq_fir/eq_fir.c @@ -455,7 +455,8 @@ static int eq_fir_process(struct processing_module *mod, return 0; } -static void eq_fir_set_alignment(struct audio_stream *source, struct audio_stream *sink) +static void eq_fir_set_alignment(struct audio_stream __sparse_cache *source, + struct audio_stream __sparse_cache *sink) { const uint32_t byte_align = 1; const uint32_t frame_align_req = 1;