[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202305221047.ZAQU4oMN-lkp@intel.com>
Date: Mon, 22 May 2023 12:20:43 +0800
From: kernel test robot <lkp@...el.com>
To: Artur Rojek <contact@...ur-rojek.eu>,
Paul Cercueil <paul@...pouillou.net>,
Jonathan Cameron <jic23@...nel.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Chris Morgan <macromorgan@...mail.com>,
Andy Shevchenko <andy.shevchenko@...il.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-mips@...r.kernel.org,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-input@...r.kernel.org, Artur Rojek <contact@...ur-rojek.eu>
Subject: Re: [PATCH v2 1/2] iio/adc: ingenic: Fix channel offsets in buffer
Hi Artur,
kernel test robot noticed the following build warnings:
[auto build test WARNING on jic23-iio/togreg]
[also build test WARNING on dtor-input/next dtor-input/for-linus linus/master v6.4-rc3 next-20230519]
[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/Artur-Rojek/iio-adc-ingenic-Fix-channel-offsets-in-buffer/20230522-070621
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/20230521225901.388455-2-contact%40artur-rojek.eu
patch subject: [PATCH v2 1/2] iio/adc: ingenic: Fix channel offsets in buffer
config: m68k-allyesconfig
compiler: m68k-linux-gcc (GCC) 12.1.0
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/intel-lab-lkp/linux/commit/ffc01980aa58e54084cc327fd18fb6ceb82d93d8
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Artur-Rojek/iio-adc-ingenic-Fix-channel-offsets-in-buffer/20230522-070621
git checkout ffc01980aa58e54084cc327fd18fb6ceb82d93d8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash drivers/iio/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305221047.ZAQU4oMN-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/string.h:20,
from include/linux/bitmap.h:11,
from include/linux/cpumask.h:12,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/mutex.h:17,
from include/linux/notifier.h:14,
from include/linux/clk.h:14,
from drivers/iio/adc/ingenic-adc.c:10:
drivers/iio/adc/ingenic-adc.c: In function 'ingenic_adc_irq':
>> arch/m68k/include/asm/string.h:48:25: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
48 | #define memset(d, c, n) __builtin_memset(d, c, n)
| ^~~~~~~~~~~~~~~~
drivers/iio/adc/ingenic-adc.c:808:9: note: in expansion of macro 'memset'
808 | memset(tdat, 0, ARRAY_SIZE(tdat));
| ^~~~~~
vim +/memset +48 arch/m68k/include/asm/string.h
ea61bc461d09e8 Greg Ungerer 2010-09-07 45
ea61bc461d09e8 Greg Ungerer 2010-09-07 46 #define __HAVE_ARCH_MEMSET
ea61bc461d09e8 Greg Ungerer 2010-09-07 47 extern void *memset(void *, int, __kernel_size_t);
ea61bc461d09e8 Greg Ungerer 2010-09-07 @48 #define memset(d, c, n) __builtin_memset(d, c, n)
ea61bc461d09e8 Greg Ungerer 2010-09-07 49
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "config" of type "text/plain" (289836 bytes)
Powered by blists - more mailing lists