From: kernel test robot <lkp@intel.com>
To: Richard Fitzgerald <rf@opensource.cirrus.com>,
broonie@kernel.org, tiwai@suse.com
Cc: oe-kbuild-all@lists.linux.dev, linux-sound@vger.kernel.org,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
patches@opensource.cirrus.com,
Richard Fitzgerald <rf@opensource.cirrus.com>
Subject: Re: [PATCH 3/3] ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol
Date: Thu, 28 Mar 2024 20:00:39 +0800 [thread overview]
Message-ID: <202403281952.Sz5iE5Tm-lkp@intel.com> (raw)
In-Reply-To: <20240325125650.213913-4-rf@opensource.cirrus.com>
Hi Richard,
kernel test robot noticed the following build errors:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on tiwai-sound/for-next tiwai-sound/for-linus linus/master v6.9-rc1 next-20240328]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Richard-Fitzgerald/ALSA-control-Introduce-snd_ctl_find_id_mixer_locked/20240325-210026
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link: https://lore.kernel.org/r/20240325125650.213913-4-rf%40opensource.cirrus.com
patch subject: [PATCH 3/3] ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol
config: powerpc-randconfig-r081-20240328 (https://download.01.org/0day-ci/archive/20240328/202403281952.Sz5iE5Tm-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240328/202403281952.Sz5iE5Tm-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/202403281952.Sz5iE5Tm-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/soc-card-test.c:24:13: error: initializer element is not a compile-time constant
SOC_SINGLE(test_control_names[0], SND_SOC_NOPM, 0, 1, 0),
^~~~~~~~~~~~~~~~~~~~~
include/sound/soc.h:61:48: note: expanded from macro 'SOC_SINGLE'
{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
^~~~~
1 error generated.
vim +24 sound/soc/soc-card-test.c
22
23 static const struct snd_kcontrol_new test_card_controls[] = {
> 24 SOC_SINGLE(test_control_names[0], SND_SOC_NOPM, 0, 1, 0),
25 SOC_SINGLE(test_control_names[1], SND_SOC_NOPM, 1, 1, 0),
26 SOC_SINGLE(test_control_names[2], SND_SOC_NOPM, 2, 1, 0),
27 SOC_SINGLE(test_control_names[3], SND_SOC_NOPM, 3, 1, 0),
28 SOC_SINGLE(test_control_names[4], SND_SOC_NOPM, 4, 1, 0),
29 SOC_SINGLE(test_control_names[5], SND_SOC_NOPM, 5, 1, 0),
30 SOC_SINGLE(test_control_names[6], SND_SOC_NOPM, 6, 1, 0),
31 SOC_SINGLE(test_control_names[7], SND_SOC_NOPM, 7, 1, 0),
32 SOC_SINGLE(test_control_names[8], SND_SOC_NOPM, 8, 1, 0),
33 SOC_SINGLE(test_control_names[9], SND_SOC_NOPM, 9, 1, 0),
34 SOC_SINGLE(test_control_names[10], SND_SOC_NOPM, 10, 1, 0),
35 SOC_SINGLE(test_control_names[11], SND_SOC_NOPM, 11, 1, 0),
36 };
37 static_assert(ARRAY_SIZE(test_control_names) == ARRAY_SIZE(test_card_controls));
38
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
parent reply other threads:[~2024-03-28 12:01 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20240325125650.213913-4-rf@opensource.cirrus.com>]
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=202403281952.Sz5iE5Tm-lkp@intel.com \
--to=lkp@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=patches@opensource.cirrus.com \
--cc=rf@opensource.cirrus.com \
--cc=tiwai@suse.com \
/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;
as well as URLs for NNTP newsgroup(s).