[tip:timers/vdso 16/16] include/linux/compiler_types.h:568:5: warning: 'CC_HAS_TYPEOF_UNQUAL' is not defined, evaluates to '0'
From: kernel test robot
Date: Sat Jan 17 2026 - 19:06:30 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/vdso
head: adc00a0daf1bb08915bceee9ae73cca682e7d5bb
commit: adc00a0daf1bb08915bceee9ae73cca682e7d5bb [16/16] compiler: Use __typeof_unqual__() for __unqual_scalar_typeof()
config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20260118/202601180747.rlQMyHZI-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260118/202601180747.rlQMyHZI-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601180747.rlQMyHZI-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
In file included from include/linux/compiler.h:5,
from include/linux/export.h:5,
from arch/alpha/lib/divide.S:49:
>> include/linux/compiler_types.h:568:5: warning: 'CC_HAS_TYPEOF_UNQUAL' is not defined, evaluates to '0' [-Wundef]
568 | #if CC_HAS_TYPEOF_UNQUAL || defined(__CHECKER__)
| ^~~~~~~~~~~~~~~~~~~~
vim +568 include/linux/compiler_types.h
564
565 /*
566 * Use __typeof_unqual__() when available.
567 */
> 568 #if CC_HAS_TYPEOF_UNQUAL || defined(__CHECKER__)
569 # define USE_TYPEOF_UNQUAL 1
570 #endif
571
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki