[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZqXgv8QyRabQ31ig@rli9-mobl>
Date: Sun, 28 Jul 2024 14:10:07 +0800
From: kernel test robot <lkp@...el.com>
To: Ivan Orlov <ivan.orlov0322@...il.com>, <perex@...ex.cz>, <tiwai@...e.com>,
<corbet@....net>, <broonie@...nel.org>, <shuah@...nel.org>
CC: <oe-kbuild-all@...ts.linux.dev>, Ivan Orlov <ivan.orlov0322@...il.com>,
<linux-kselftest@...r.kernel.org>, <linux-doc@...r.kernel.org>,
<linux-sound@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<aholzinger@....de>
Subject: Re: [PATCH 4/4] selftests: ALSA: Cover userspace-driven timers with
test
Hi Ivan,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tiwai-sound/for-next]
[also build test WARNING on tiwai-sound/for-linus linus/master v6.10 next-20240726]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ivan-Orlov/ALSA-aloop-Allow-using-global-timers/20240726-155158
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
patch link: https://lore.kernel.org/r/20240726074750.626671-5-ivan.orlov0322%40gmail.com
patch subject: [PATCH 4/4] selftests: ALSA: Cover userspace-driven timers with test
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240728/202407281359.vMYdESrT-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@...el.com>
| Closes: https://lore.kernel.org/r/202407281359.vMYdESrT-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> utimer-test.c:73:1: warning: non-void function does not return a value [-Wreturn-type]
73 | }
| ^
>> utimer-test.c:117:11: warning: enumeration value 'TIMER_NO_EVENT' not handled in switch [-Wswitch]
117 | switch (parse_timer_output(buf)) {
| ^~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
vim +73 tools/testing/selftests/alsa/utimer-test.c
5cf58530fa628b Ivan Orlov 2024-07-26 62
5cf58530fa628b Ivan Orlov 2024-07-26 63 static void *ticking_func(void *data)
5cf58530fa628b Ivan Orlov 2024-07-26 64 {
5cf58530fa628b Ivan Orlov 2024-07-26 65 int i;
5cf58530fa628b Ivan Orlov 2024-07-26 66 int *fd = (int *)data;
5cf58530fa628b Ivan Orlov 2024-07-26 67
5cf58530fa628b Ivan Orlov 2024-07-26 68 for (i = 0; i < TICKS_COUNT; i++) {
5cf58530fa628b Ivan Orlov 2024-07-26 69 /* Well, trigger the timer! */
5cf58530fa628b Ivan Orlov 2024-07-26 70 ioctl(*fd, SNDRV_TIMER_IOCTL_TRIGGER, NULL);
5cf58530fa628b Ivan Orlov 2024-07-26 71 sleep(TIMER_FREQ_SEC);
5cf58530fa628b Ivan Orlov 2024-07-26 72 }
5cf58530fa628b Ivan Orlov 2024-07-26 @73 }
5cf58530fa628b Ivan Orlov 2024-07-26 74
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists