From: kernel test robot <lkp@intel.com>
To: "Martin Povišer" <povik+lin@cutebit.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Hector Martin <marcan@marcan.st>
Subject: [asahilinux:bits/070-audio 13/20] sound/soc/apple/macaudio.c:429:12: warning: stack frame size (1056) exceeds limit (1024) in 'macaudio_late_probe'
Date: Tue, 3 May 2022 02:54:51 +0800 [thread overview]
Message-ID: <202205030219.YmvdsBD1-lkp@intel.com> (raw)
tree: https://github.com/AsahiLinux/linux bits/070-audio
head: 91b81123719d8b742da188f01ee3d897e0fac92b
commit: 6b20b01b79c235ed4543ef5ae2b788b7bca85643 [13/20] ASoC: Add macaudio machine driver
config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20220503/202205030219.YmvdsBD1-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 09325d36061e42b495d1f4c7e933e260eac260ed)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/AsahiLinux/linux/commit/6b20b01b79c235ed4543ef5ae2b788b7bca85643
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/070-audio
git checkout 6b20b01b79c235ed4543ef5ae2b788b7bca85643
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/platform/ sound/soc/apple/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> sound/soc/apple/macaudio.c:429:12: warning: stack frame size (1056) exceeds limit (1024) in 'macaudio_late_probe' [-Wframe-larger-than]
static int macaudio_late_probe(struct snd_soc_card *card)
^
1 warning generated.
vim +/macaudio_late_probe +429 sound/soc/apple/macaudio.c
428
> 429 static int macaudio_late_probe(struct snd_soc_card *card)
430 {
431 struct macaudio_snd_data *ma = snd_soc_card_get_drvdata(card);
432 struct snd_kcontrol *kcontrol;
433 struct snd_soc_pcm_runtime *rtd;
434 int ret;
435
436 list_for_each_entry(kcontrol, &ma->hidden_kcontrols, list) {
437 struct fixed_kctl *fctl = find_fixed_kctl(kcontrol->id.name);
438
439 if (fctl)
440 snd_soc_kcontrol_set_strval(card, kcontrol, fctl->value);
441 }
442
443 for_each_card_rtds(card, rtd) {
444 bool speakers_link = !strcmp(rtd->dai_link->name, "Speaker")
445 || !strcmp(rtd->dai_link->name, "Speakers");
446
447 if (speakers_link && ma->speaker_chmap) {
448 ret = snd_pcm_add_chmap_ctls(rtd->pcm,
449 SNDRV_PCM_STREAM_PLAYBACK, ma->speaker_chmap,
450 rtd->num_codecs, 0, NULL);
451 if (ret < 0)
452 dev_err(card->dev, "failed to add channel map on '%s': %d\n",
453 rtd->dai_link->name, ret);
454 }
455 }
456
457 return 0;
458 }
459
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-02 18:55 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=202205030219.YmvdsBD1-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=marcan@marcan.st \
--cc=povik+lin@cutebit.org \
/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).