All of lore.kernel.org
 help / color / mirror / Atom feed
* [asahilinux:bits/070-audio 4/80] sound/soc/soc-ops.c:579:1: warning: the frame size of 1296 bytes is larger than 1280 bytes
@ 2026-06-29  9:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-29  9:10 UTC (permalink / raw)
  To: Martin Povišer ; +Cc: oe-kbuild-all, Janne Grunau

tree:   https://github.com/AsahiLinux/linux bits/070-audio
head:   bc632c6dde685e651ff0b034a07dd6bc8b0f10a6
commit: c46f9e66100bfa95b2593f1df1b9e311ee170ec2 [4/80] ASoC: ops: Introduce 'soc_set_enum_kctl'
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260629/202606291704.vQSMPhfZ-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260629/202606291704.vQSMPhfZ-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/202606291704.vQSMPhfZ-lkp@intel.com/

All warnings (new ones prefixed by >>):

   sound/soc/soc-ops.c: In function 'soc_set_enum_kctl':
>> sound/soc/soc-ops.c:579:1: warning: the frame size of 1296 bytes is larger than 1280 bytes [-Wframe-larger-than=]
     579 | }
         | ^


vim +579 sound/soc/soc-ops.c

   548	
   549	static int soc_set_enum_kctl(struct snd_kcontrol *kctl, const char *strval)
   550	{
   551		struct snd_ctl_elem_value value;
   552		struct snd_ctl_elem_info info;
   553		int sel, i, ret;
   554	
   555		ret = kctl->info(kctl, &info);
   556		if (ret < 0)
   557			return ret;
   558	
   559		if (info.type != SNDRV_CTL_ELEM_TYPE_ENUMERATED)
   560			return -EINVAL;
   561	
   562		for (sel = 0; sel < info.value.enumerated.items; sel++) {
   563			info.value.enumerated.item = sel;
   564			ret = kctl->info(kctl, &info);
   565			if (ret < 0)
   566				return ret;
   567	
   568			if (!strcmp(strval, info.value.enumerated.name))
   569				break;
   570		}
   571	
   572		if (sel == info.value.enumerated.items)
   573			return -EINVAL;
   574	
   575		for (i = 0; i < info.count; i++)
   576			value.value.enumerated.item[i] = sel;
   577	
   578		return kctl->put(kctl, &value);
 > 579	}
   580	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2026-06-29  9:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-29  9:10 [asahilinux:bits/070-audio 4/80] sound/soc/soc-ops.c:579:1: warning: the frame size of 1296 bytes is larger than 1280 bytes 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.