[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87a5ecwy0e.wl-tiwai@suse.de>
Date: Wed, 06 Nov 2024 09:46:09 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>
Cc: vkoul@...nel.org,
perex@...ex.cz,
tiwai@...e.com,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org,
broonie@...nel.org,
amadeuszx.slawinski@...ux.intel.com
Subject: Re: [PATCH] ALSA: compress_offload: Use runtime pointer in snd_compr_poll()
On Wed, 06 Nov 2024 08:53:12 +0100,
Peter Ujfalusi wrote:
>
> runtime is not used as seen with W=1 :
> sound/core/compress_offload.c: In function ‘snd_compr_poll’:
> sound/core/compress_offload.c:409:35: error: variable ‘runtime’ set but not used [-Werror=unused-but-set-variable]
> 409 | struct snd_compr_runtime *runtime;
> | ^~~~~~~
>
> Instead of dropping the runtime, use it in the function in place of
> stream->runtime
>
> Fixes: 04177158cf98 ("ALSA: compress_offload: introduce accel operation mode")
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>
Applied now. Thanks.
Takashi
Powered by blists - more mailing lists