Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [vbabka:objext_split 13/19] mm/slub.c:2098:1: error: expected identifier or '('
@ 2026-07-10  9:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-10  9:57 UTC (permalink / raw)
  To: Vlastimil Babka (SUSE); +Cc: llvm, 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:   c4923e2e532497a14255f7a0ff21e2a0c2b79445
commit: 9028e3e3942a1f9fcdfe06b498814fae5e3171b0 [13/19] mm/slab: abstract slabobj_ext.ref access
config: i386-randconfig-015-20260710 (https://download.01.org/0day-ci/archive/20260710/202607101753.3XTkPSvA-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260710/202607101753.3XTkPSvA-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/202607101753.3XTkPSvA-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/slub.c:2098:1: error: expected identifier or '('
    2098 | {
         | ^
   1 error generated.


vim +2098 mm/slub.c

0bedcc66d2a43a Vlastimil Babka        2023-10-03  2095  
9028e3e3942a1f Vlastimil Babka (SUSE  2026-07-08  2096) static inline void handle_failed_objexts_alloc(struct slab *slab,
9028e3e3942a1f Vlastimil Babka (SUSE  2026-07-08  2097) 		unsigned long obj_exts, struct slabobj_ext *vec);
0bedcc66d2a43a Vlastimil Babka        2023-10-03 @2098  {
9028e3e3942a1f Vlastimil Babka (SUSE  2026-07-08  2099) 	vec = slab_obj_ext_shift_codetag_ref(slab, vec);
9028e3e3942a1f Vlastimil Babka (SUSE  2026-07-08  2100) 
0bedcc66d2a43a Vlastimil Babka        2023-10-03  2101  	/*
09c46563ff6d5f Suren Baghdasaryan     2024-03-21  2102  	 * If vector previously failed to allocate then we have live
09c46563ff6d5f Suren Baghdasaryan     2024-03-21  2103  	 * objects with no tag reference. Mark all references in this
09c46563ff6d5f Suren Baghdasaryan     2024-03-21  2104  	 * vector as empty to avoid warnings later on.
0bedcc66d2a43a Vlastimil Babka        2023-10-03  2105  	 */
7612833192d56a Alexei Starovoitov     2025-09-08  2106  	if (obj_exts == OBJEXTS_ALLOC_FAIL) {
09c46563ff6d5f Suren Baghdasaryan     2024-03-21  2107  		unsigned int i;
09c46563ff6d5f Suren Baghdasaryan     2024-03-21  2108  
9028e3e3942a1f Vlastimil Babka (SUSE  2026-07-08  2109) 		for (i = 0; i < slab->objects; i++)
9028e3e3942a1f Vlastimil Babka (SUSE  2026-07-08  2110) 			set_codetag_empty(&vec[i]._ctref);
0bedcc66d2a43a Vlastimil Babka        2023-10-03  2111  	}
09c46563ff6d5f Suren Baghdasaryan     2024-03-21  2112  }
09c46563ff6d5f Suren Baghdasaryan     2024-03-21  2113  

:::::: The code at line 2098 was first introduced by commit
:::::: 0bedcc66d2a43a50ab660273842f4737a293dd8a mm/slab: move memcg related functions from slab.h to slub.c

:::::: TO: Vlastimil Babka <vbabka@suse.cz>
:::::: CC: Vlastimil Babka <vbabka@suse.cz>

--
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-10  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10  9:57 [vbabka:objext_split 13/19] mm/slub.c:2098:1: error: expected identifier or '(' 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