* [vbabka:objext_split 12/14] mm/slab.h:720:46: error: 'slabobj_ext_idx_ctref' undeclared; did you mean 'slabobj_ext_idx_objcg'?
@ 2026-07-09 9:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-09 9:23 UTC (permalink / raw)
To: Vlastimil Babka (SUSE); +Cc: oe-kbuild-all
Hi Vlastimil,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git objext_split
head: 8bd682e28958694beba958e2a3af94c6e1789819
commit: ac7896437e39eb47ba7cbf00c39915e87e04398f [12/14] mm/slab: change layout of struct slabobj_ext arrays
config: arm64-randconfig-002-20260709 (https://download.01.org/0day-ci/archive/20260709/202607091729.PhhcpvSA-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260709/202607091729.PhhcpvSA-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/202607091729.PhhcpvSA-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from mm/slab_common.c:35:
mm/slab.h: In function 'slab_obj_ext_codetag_ref':
>> mm/slab.h:720:46: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return &slab_obj_ext(slab, obj_exts, index, slabobj_ext_idx_ctref)->_ctref;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
mm/slab.h:720:46: note: each undeclared identifier is reported only once for each function it appears in
mm/slab.h: In function 'obj_ext_codetag_ref_start':
mm/slab.h:731:19: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return obj_ext + slabobj_ext_idx_ctref * slab->objects;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
--
In file included from mm/slub.c:23:
mm/slab.h: In function 'slab_obj_ext_codetag_ref':
>> mm/slab.h:720:46: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return &slab_obj_ext(slab, obj_exts, index, slabobj_ext_idx_ctref)->_ctref;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
mm/slab.h:720:46: note: each undeclared identifier is reported only once for each function it appears in
mm/slab.h: In function 'obj_ext_codetag_ref_start':
mm/slab.h:731:19: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return obj_ext + slabobj_ext_idx_ctref * slab->objects;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
>> mm/slab.h:732:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--
In file included from mm/kasan/generic.c:37:
mm/kasan/../slab.h: In function 'slab_obj_ext_codetag_ref':
>> mm/kasan/../slab.h:720:46: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return &slab_obj_ext(slab, obj_exts, index, slabobj_ext_idx_ctref)->_ctref;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
mm/kasan/../slab.h:720:46: note: each undeclared identifier is reported only once for each function it appears in
mm/kasan/../slab.h: In function 'obj_ext_codetag_ref_start':
mm/kasan/../slab.h:731:19: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return obj_ext + slabobj_ext_idx_ctref * slab->objects;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
--
In file included from mm/kfence/kfence.h:17,
from mm/kfence/core.c:39:
mm/kfence/../slab.h: In function 'slab_obj_ext_codetag_ref':
>> mm/kfence/../slab.h:720:46: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return &slab_obj_ext(slab, obj_exts, index, slabobj_ext_idx_ctref)->_ctref;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
mm/kfence/../slab.h:720:46: note: each undeclared identifier is reported only once for each function it appears in
mm/kfence/../slab.h: In function 'obj_ext_codetag_ref_start':
mm/kfence/../slab.h:731:19: error: 'slabobj_ext_idx_ctref' undeclared (first use in this function); did you mean 'slabobj_ext_idx_objcg'?
return obj_ext + slabobj_ext_idx_ctref * slab->objects;
^~~~~~~~~~~~~~~~~~~~~
slabobj_ext_idx_objcg
vim +720 mm/slab.h
712
713 static inline union codetag_ref *slab_obj_ext_codetag_ref(struct slab *slab,
714 unsigned long obj_exts, const void *obj)
715 {
716 unsigned int index;
717
718 index = obj_to_index(slab->slab_cache, slab, obj);
719
> 720 return &slab_obj_ext(slab, obj_exts, index, slabobj_ext_idx_ctref)->_ctref;
721 }
722
723 /*
724 * Given slabobj_ext, return the first entry where codetag entries start.
725 *
726 * Can only be used on slabobj_ext allocated by kmalloc, not in-obj.
727 */
728 static inline struct slabobj_ext *obj_ext_codetag_ref_start(struct slab *slab,
729 struct slabobj_ext *obj_ext)
730 {
731 return obj_ext + slabobj_ext_idx_ctref * slab->objects;
> 732 }
733
--
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:[~2026-07-09 9:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-09 9:23 [vbabka:objext_split 12/14] mm/slab.h:720:46: error: 'slabobj_ext_idx_ctref' undeclared; did you mean 'slabobj_ext_idx_objcg'? 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.