[peterz-queue:x86/cfi 4/16] include/linux/linkage.h:61:15: error: unknown type name 'u8'

From: kernel test robot
Date: Sat Oct 30 2021 - 00:30:29 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/cfi
head: 54c4c9b7e16dc0fa60a3e979df15e11a0caf858d
commit: 2b9aafcbc3eb0f7029e57f1305eceff048c6ab63 [4/16] linkage: Add DECLARE_NOT_CALLED_FROM_C
config: mips-randconfig-r016-20211028 (attached as .config)
compiler: mipsel-linux-gcc (GCC) 11.2.0
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/peterz/queue.git/commit/?id=2b9aafcbc3eb0f7029e57f1305eceff048c6ab63
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue x86/cfi
git checkout 2b9aafcbc3eb0f7029e57f1305eceff048c6ab63
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/of/

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 include/linux/crash_core.h:5,
from include/linux/kexec.h:18,
from include/linux/crash_dump.h:5,
from drivers/of/fdt.c:11:
>> include/linux/linkage.h:61:15: error: unknown type name 'u8'
61 | typedef const u8 *asm_func_ptr;
| ^~


vim +/u8 +61 include/linux/linkage.h

59
60 #ifndef __ASSEMBLY__
> 61 typedef const u8 *asm_func_ptr;
62 #endif
63

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip