From: kernel test robot <lkp@intel.com>
To: "Martin Povišer " <povik+lin@cutebit.org>
Cc: oe-kbuild-all@lists.linux.dev, Janne Grunau <j@jannau.net>
Subject: [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
Date: Mon, 29 Jun 2026 17:10:44 +0800 [thread overview]
Message-ID: <202606291704.vQSMPhfZ-lkp@intel.com> (raw)
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
reply other threads:[~2026-06-29 9:11 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=202606291704.vQSMPhfZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=j@jannau.net \
--cc=oe-kbuild-all@lists.linux.dev \
--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 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.