From: kernel test robot <lkp@intel.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [superna9999:topic/sm8650/ayaneo-pocket-s2/wsa2-fix 5/5] sound/soc/qcom/sc8280xp.c:237:64: error: use of undeclared identifier 'cpu_dai'
Date: Wed, 10 Jun 2026 13:31:18 +0800 [thread overview]
Message-ID: <202606101325.nm9PJYzJ-lkp@intel.com> (raw)
tree: https://github.com/superna9999/linux topic/sm8650/ayaneo-pocket-s2/wsa2-fix
head: 074a0ec5e0e7c16933371ee131890bacbfee4fdd
commit: 074a0ec5e0e7c16933371ee131890bacbfee4fdd [5/5] WiP
config: x86_64-buildonly-randconfig-003-20260610 (https://download.01.org/0day-ci/archive/20260610/202606101325.nm9PJYzJ-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260610/202606101325.nm9PJYzJ-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/202606101325.nm9PJYzJ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/qcom/sc8280xp.c:237:64: error: use of undeclared identifier 'cpu_dai'
237 | return qcom_snd_sdw_prepare(substream, &data->stream_prepared[cpu_dai->id]);
| ^~~~~~~
1 error generated.
vim +/cpu_dai +237 sound/soc/qcom/sc8280xp.c
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 223
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 224 static int sc8280xp_snd_prepare(struct snd_pcm_substream *substream)
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 225 {
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 226 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
295aeea6646ad6c Srinivas Kandagatla 2022-09-16 227 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card);
295aeea6646ad6c Srinivas Kandagatla 2022-09-16 228
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 229 if (data->snd_soc_common_priv->snd_prepare) {
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 230 int ret;
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 231
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 232 ret = data->snd_soc_common_priv->snd_prepare(substream);
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 233 if (ret)
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 234 return ret;
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 235 }
074a0ec5e0e7c16 Neil Armstrong 2026-05-28 236
d02460317ed9c95 Srinivas Kandagatla 2025-10-22 @237 return qcom_snd_sdw_prepare(substream, &data->stream_prepared[cpu_dai->id]);
295aeea6646ad6c Srinivas Kandagatla 2022-09-16 238 }
295aeea6646ad6c Srinivas Kandagatla 2022-09-16 239
:::::: The code at line 237 was first introduced by commit
:::::: d02460317ed9c95aa2c5f6ff1c70e22e1857d95d ASoC: qcom: sdw: remove redundant code
:::::: TO: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-10 5:31 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=202606101325.nm9PJYzJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=neil.armstrong@linaro.org \
--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