[jirislaby:devel 57/73] include/linux/consolemap.h:50:9: error: use of undeclared identifier 'c'

From: kernel test robot
Date: Wed May 04 2022 - 14:37:18 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: fab642eca5e0ca41e656c8a0685cadf975b7ff88
commit: b2c621c008e401176daf2b3a1ca78fa8d6ff01af [57/73] consolemap.h: convert macros to static inlines
config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220505/202205050202.8dNFQmxj-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 363b3a645a1e30011cc8da624f13dac5fd915628)
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/jirislaby/linux.git/commit/?id=b2c621c008e401176daf2b3a1ca78fa8d6ff01af
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout b2c621c008e401176daf2b3a1ca78fa8d6ff01af
# 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=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from kernel/panic.c:19:
In file included from include/linux/vt_kern.h:16:
>> include/linux/consolemap.h:50:9: error: use of undeclared identifier 'c'
return c & 0xff;
^
1 error generated.


vim +/c +50 include/linux/consolemap.h

47
48 static inline int conv_uni_to_8bit(u32 uni)
49 {
> 50 return c & 0xff;
51 }
52

--
0-DAY CI Kernel Test Service
https://01.org/lkp