Re: sound/soc/soc-pcm.c:1082:1: warning: the frame size of 1324 bytes is larger than 1024 bytes

From: Charles Keepax
Date: Fri Sep 08 2023 - 04:33:55 EST


On Thu, Sep 07, 2023 at 10:20:56PM -0400, Pierre-Louis Bossart wrote:
>
>
> On 9/7/23 15:23, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 4a0fc73da97efd23a383ca839e6fe86410268f6b
> > commit: ac950278b0872c87bcef6153fd9c119265c8ba83 ASoC: add N cpus to M codecs dai link support
> > date: 3 months ago
> > config: i386-buildonly-randconfig-006-20230908 (https://download.01.org/0day-ci/archive/20230908/202309080339.rbPMLUjl-lkp@xxxxxxxxx/config)
> > compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230908/202309080339.rbPMLUjl-lkp@xxxxxxxxx/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@xxxxxxxxx>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202309080339.rbPMLUjl-lkp@xxxxxxxxx/
> >
> > All warnings (new ones prefixed by >>):
> >
> > sound/soc/soc-pcm.c: In function '__soc_pcm_hw_params':
> >>> sound/soc/soc-pcm.c:1082:1: warning: the frame size of 1324 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> > }
> > ^
>
> isn't this the same issue that Charles Keepax wanted to address with
> "[PATCH] ASoC: soc-pcm: Shrink stack frame for __soc_pcm_hw_params"?
>
> That's clearly no longer an ARM-only issue and it does look like a
> compiler issue.
>

Shoot yeah I think I forgot to respin that patch will do it this
morning.

Thanks,
Charles