All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2022-05-02 18:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-02 18:54 UTC (permalink / raw)
  To: Martin Povišer; +Cc: llvm, kbuild-all, linux-kernel, Hector Martin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-02 18:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 18:54 [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' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.