* [koverstreet-bcachefs:bcachefs-testing 259/260] arch/m68k/include/asm/string.h:49:25: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters
@ 2025-05-22 2:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-22 2:27 UTC (permalink / raw)
To: Kent Overstreet; +Cc: oe-kbuild-all
tree: https://github.com/koverstreet/bcachefs bcachefs-testing
head: 6a62e6f0f866f2175751cdec81ae87ab573c8185
commit: e9d60153964008eaaa01f3bf287438dcff4c0d07 [259/260] fs: dcache exlusion between overlayfs, casefolding
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20250522/202505221059.VB4PoKbz-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250522/202505221059.VB4PoKbz-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/202505221059.VB4PoKbz-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/string.h:65,
from include/linux/bitmap.h:13,
from include/linux/cpumask.h:12,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/spinlock.h:63,
from include/linux/sched.h:2213,
from include/linux/ratelimit.h:6,
from fs/dcache.c:18:
fs/dcache.c: In function 'd_casefold_enable':
>> arch/m68k/include/asm/string.h:49:25: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args]
49 | #define memset(d, c, n) __builtin_memset(d, c, n)
| ^~~~~~~~~~~~~~~~
fs/dcache.c:3307:9: note: in expansion of macro 'memset'
3307 | memset(e, sizeof(*e), 0);
| ^~~~~~
fs/dcache.c: In function 'vfs_caches_init':
fs/dcache.c:3454:65: warning: '%s' directive argument is null [-Wformat-overflow=]
3454 | panic("error initializing no_casefold_dentries: %s\n", errname(ret));
| ^~
vim +/memset +49 arch/m68k/include/asm/string.h
ea61bc461d09e8 Greg Ungerer 2010-09-07 46
ea61bc461d09e8 Greg Ungerer 2010-09-07 47 #define __HAVE_ARCH_MEMSET
ea61bc461d09e8 Greg Ungerer 2010-09-07 48 extern void *memset(void *, int, __kernel_size_t);
ea61bc461d09e8 Greg Ungerer 2010-09-07 @49 #define memset(d, c, n) __builtin_memset(d, c, n)
ea61bc461d09e8 Greg Ungerer 2010-09-07 50
:::::: The code at line 49 was first introduced by commit
:::::: ea61bc461d09e8d331a307916530aaae808c72a2 m68k/m68knommu: merge MMU and non-MMU string.h
:::::: TO: Greg Ungerer <gerg@snapgear.com>
:::::: CC: Geert Uytterhoeven <geert@linux-m68k.org>
--
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:[~2025-05-22 2:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 2:27 [koverstreet-bcachefs:bcachefs-testing 259/260] arch/m68k/include/asm/string.h:49:25: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters 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.