* [akpm-mm:mm-new 195/196] mm/zblock.c:369:33: error: initialization of 'int (*)(void *, size_t, gfp_t, long unsigned int *, const int)' {aka 'int (*)(void *, unsigned int, unsigned int, long unsigned int *, const int)'} from incompatible pointer type 'int (*)(void *, size_t, ...
@ 2025-04-16 8:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-04-16 8:58 UTC (permalink / raw)
To: Vitaly Wool
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List,
Igor Belousov
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head: 13ef12753ee527caca620af5ab72ef6249c20622
commit: 40d54ac31c6e801d94f2563158650b69c15fbf82 [195/196] mm: add zblock allocator
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250416/202504161606.b5FstdkD-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/20250416/202504161606.b5FstdkD-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/202504161606.b5FstdkD-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/zblock.c:369:33: error: initialization of 'int (*)(void *, size_t, gfp_t, long unsigned int *, const int)' {aka 'int (*)(void *, unsigned int, unsigned int, long unsigned int *, const int)'} from incompatible pointer type 'int (*)(void *, size_t, gfp_t, long unsigned int *)' {aka 'int (*)(void *, unsigned int, unsigned int, long unsigned int *)'} [-Wincompatible-pointer-types]
369 | .malloc = zblock_zpool_malloc,
| ^~~~~~~~~~~~~~~~~~~
mm/zblock.c:369:33: note: (near initialization for 'zblock_zpool_driver.malloc')
vim +369 mm/zblock.c
363
364 static struct zpool_driver zblock_zpool_driver = {
365 .type = "zblock",
366 .owner = THIS_MODULE,
367 .create = zblock_zpool_create,
368 .destroy = zblock_zpool_destroy,
> 369 .malloc = zblock_zpool_malloc,
370 .free = zblock_zpool_free,
371 .obj_read_begin = zblock_zpool_read_begin,
372 .obj_read_end = zblock_zpool_read_end,
373 .obj_write = zblock_zpool_obj_write,
374 .total_pages = zblock_zpool_total_pages,
375 };
376
--
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-04-16 8:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-16 8:58 [akpm-mm:mm-new 195/196] mm/zblock.c:369:33: error: initialization of 'int (*)(void *, size_t, gfp_t, long unsigned int *, const int)' {aka 'int (*)(void *, unsigned int, unsigned int, long unsigned int *, const int)'} from incompatible pointer type 'int (*)(void *, size_t, kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox