tree: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git slub-tiny-v1r1 head: efe34cfc09185a1fe864b1fac237b7689ec7a980 commit: cb64c543de6e006f6c75f00f725f5d765c9f5ace [5/8] mm, slub: remove percpu slabs with CONFIG_SLUB_TINY config: hexagon-randconfig-r016-20221117 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project bbe6bd724a6335e497c7edaed191d37a828d0390) 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://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/commit/?id=cb64c543de6e006f6c75f00f725f5d765c9f5ace git remote add vbabka https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git git fetch --no-tags vbabka slub-tiny-v1r1 git checkout cb64c543de6e006f6c75f00f725f5d765c9f5ace # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from mm/slub.c:14: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from mm/slub.c:14: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from mm/slub.c:14: In file included from include/linux/swap.h:9: In file included from include/linux/memcontrol.h:13: In file included from include/linux/cgroup.h:26: In file included from include/linux/kernel_stat.h:9: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ >> mm/slub.c:1656:61: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] static inline bool free_debug_processing(struct kmem_cache *, struct slab *, ^ mm/slub.c:1656:76: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] static inline bool free_debug_processing(struct kmem_cache *, struct slab *, ^ mm/slub.c:1657:8: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] void *, void *, int *, unsigned long, depot_stack_handle_t) { return 1; } ^ mm/slub.c:1657:16: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] void *, void *, int *, unsigned long, depot_stack_handle_t) { return 1; } ^ mm/slub.c:1657:23: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] void *, void *, int *, unsigned long, depot_stack_handle_t) { return 1; } ^ mm/slub.c:1657:38: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] void *, void *, int *, unsigned long, depot_stack_handle_t) { return 1; } ^ mm/slub.c:1657:60: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions] void *, void *, int *, unsigned long, depot_stack_handle_t) { return 1; } ^ mm/slub.c:2209:15: warning: variable 'partial_slabs' set but not used [-Wunused-but-set-variable] unsigned int partial_slabs = 0; ^ mm/slub.c:210:20: warning: unused function 'slub_debug_orig_size' [-Wunused-function] static inline bool slub_debug_orig_size(struct kmem_cache *s) ^ mm/slub.c:1680:29: warning: unused function 'node_nr_slabs' [-Wunused-function] static inline unsigned long node_nr_slabs(struct kmem_cache_node *n) ^ 16 warnings generated. vim +1656 mm/slub.c 1652 1653 static inline int alloc_debug_processing(struct kmem_cache *s, 1654 struct slab *slab, void *object, int orig_size) { return 1; } 1655 > 1656 static inline bool free_debug_processing(struct kmem_cache *, struct slab *, 1657 void *, void *, int *, unsigned long, depot_stack_handle_t) { return 1; } 1658 -- 0-DAY CI Kernel Test Service https://01.org/lkp