From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [morimoto:sound-cleanup-2026-11-13 351/351] sound/soc/soc-compress.c:294:1: error: redefinition of label 'out'
Date: Fri, 20 Nov 2026 14:54:25 +0800 [thread overview]
Message-ID: <202611201433.KRK9f62c-lkp@intel.com> (raw)
tree: https://github.com/morimoto/linux sound-cleanup-2026-11-13
head: 437686bf7c08c92113908bda25c90a3a7761459c
commit: 431c6c3e838b47c7c7ff9927e38e9cb46521b08e [351/351] ASoC: soc-compress: use guard(pcm_mutex)
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20261120/202611201433.KRK9f62c-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 3b14d7c370558b46e5f0c6494a05c492e59bf32c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261120/202611201433.KRK9f62c-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611201433.KRK9f62c-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/soc-compress.c:294:1: error: redefinition of label 'out'
294 | out:
| ^
sound/soc/soc-compress.c:290:2: note: previous definition is here
290 | out:
| ^
1 error generated.
vim +/out +294 sound/soc/soc-compress.c
223
224 static int soc_compr_open_fe(struct snd_compr_stream *cstream)
225 {
226 struct snd_soc_pcm_runtime *fe = cstream->private_data;
227 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(fe, 0);
228 struct snd_soc_dpcm *dpcm;
229 struct snd_soc_dapm_widget_list *list;
230 int stream = cstream->direction; /* SND_COMPRESS_xxx is same as SNDRV_PCM_STREAM_xxx */
231 int ret;
232
233 snd_soc_card_mutex_lock(fe->card);
234
235 ret = soc_compr_alloc_fe_runtime(fe, stream);
236 if (ret < 0)
237 goto be_err;
238
239 ret = dpcm_path_get(fe, stream, &list);
240 if (ret < 0)
241 goto be_err;
242
243 {
244 /* avoid scoped_guard() to allow goto */
245 guard(pcm_mutex)(fe->card);
246
247 /* calculate valid and active FE <-> BE dpcms */
248 dpcm_add_paths(fe, stream, &list);
249
250 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE;
251
252 ret = dpcm_be_dai_startup(fe, stream);
253 if (ret < 0) {
254 /* clean up all links */
255 for_each_dpcm_be(fe, stream, dpcm)
256 dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE;
257
258 dpcm_be_disconnect(fe, stream);
259 goto out;
260 }
261
262 ret = snd_soc_dai_compr_startup(cpu_dai, cstream);
263 if (ret < 0)
264 goto out;
265
266 ret = snd_soc_compr_components_open(cstream);
267 if (ret < 0)
268 goto open_err;
269
270 ret = snd_soc_link_compr_startup(cstream);
271 if (ret < 0)
272 goto machine_err;
273
274 dpcm_clear_pending_state(fe, stream);
275 dpcm_path_put(&list);
276
277 fe->dpcm[stream].state = SND_SOC_DPCM_STATE_OPEN;
278 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO;
279
280 snd_soc_runtime_stream_user_update(fe, stream, 1);
281
282 /* success */
283 goto out;
284
285 /* error handling in guard() */
286 machine_err:
287 snd_soc_compr_components_free(cstream, 1);
288 open_err:
289 snd_soc_dai_compr_shutdown(cpu_dai, cstream, 1);
290 out:
291 dpcm_path_put(&list);
292 goto be_err;
293 }
> 294 out:
295 snd_soc_card_mutex_unlock(fe->card);
296
297 return 0;
298
299 be_err:
300 soc_compr_free_fe_runtime(fe, stream);
301 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO;
302 snd_soc_card_mutex_unlock(fe->card);
303
304 return soc_compr_ret(fe, ret);
305 }
306
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-20 7:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202611201433.KRK9f62c-lkp@intel.com \
--to=lkp@intel.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox