Re: [PATCH] certs/extract-cert: Fix checkpatch issues
From: kernel test robot
Date: Thu Jun 01 2023 - 22:28:05 EST
Hi Franziska,
kernel test robot noticed the following build errors:
[auto build test ERROR on 7877cb91f1081754a1487c144d85dc0d2e2e7fc4]
url: https://github.com/intel-lab-lkp/linux/commits/Franziska-Naepelt/certs-extract-cert-Fix-checkpatch-issues/20230602-030657
base: 7877cb91f1081754a1487c144d85dc0d2e2e7fc4
patch link: https://lore.kernel.org/r/20230601190508.56610-1-franziska.naepelt%40gmail.com
patch subject: [PATCH] certs/extract-cert: Fix checkpatch issues
config: mips-buildonly-randconfig-r002-20230602 (https://download.01.org/0day-ci/archive/20230602/202306021040.UTvXfH5J-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 4faf3aaf28226a4e950c103a14f6fc1d1fdabb1b)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mipsel-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/7fdfaec7a3c9f58676a5892e679d8bca319abd8a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Franziska-Naepelt/certs-extract-cert-Fix-checkpatch-issues/20230602-030657
git checkout 7fdfaec7a3c9f58676a5892e679d8bca319abd8a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=mips olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306021040.UTvXfH5J-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> certs/extract-cert.c:36:8: error: unknown type name '__noreturn'
static __noreturn
^
1 error generated.
vim +/__noreturn +36 certs/extract-cert.c
35
> 36 static __noreturn
37 void format(void)
38 {
39 fprintf(stderr,
40 "Usage: extract-cert <source> <dest>\n");
41 exit(2);
42 }
43
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki