Content-Type: multipart/mixed; boundary="===============1020210043546022853==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 1/5] coredump: Move definition of struct coredump_params into coredump.h Date: Tue, 01 Feb 2022 12:07:14 +0800 Message-ID: <202202011230.eerL23uM-lkp@intel.com> In-Reply-To: <875ypzoiae.fsf_-_@email.froward.int.ebiederm.org> List-Id: --===============1020210043546022853== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi "Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.17-rc2 next-20220131] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Eric-W-Biederman/coredump-= Move-definition-of-struct-coredump_params-into-coredump-h/20220201-034653 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = 26291c54e111ff6ba87a164d85d4a4e134b7315c config: riscv-buildonly-randconfig-r005-20220131 (https://download.01.org/0= day-ci/archive/20220201/202202011230.eerL23uM-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2cdbac= a3943a4d6259119f185656328bd3805b68) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/0day-ci/linux/commit/51661b08028418cf7e46f97d7= e7dbee927cd61e0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Eric-W-Biederman/coredump-Move-def= inition-of-struct-coredump_params-into-coredump-h/20220201-034653 git checkout 51661b08028418cf7e46f97d7e7dbee927cd61e0 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Driscv SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> fs/binfmt_flat.c:118:36: error: incomplete definition of type 'struct co= redump_params' current->comm, current->pid, cprm->siginfo->si_signo); ~~~~^ include/linux/printk.h:499:37: note: expanded from macro 'pr_warn' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ include/linux/printk.h:446:60: note: expanded from macro 'printk' #define printk(fmt, ...) printk_index_wrap(_printk, fmt, ##__VA_ARGS__) ^~~~~~~~~~~ include/linux/printk.h:418:19: note: expanded from macro 'printk_index_w= rap' _p_func(_fmt, ##__VA_ARGS__); \ ^~~~~~~~~~~ include/linux/binfmts.h:11:8: note: forward declaration of 'struct cored= ump_params' struct coredump_params; ^ 1 error generated. vim +118 fs/binfmt_flat.c ^1da177e4c3f41 Linus Torvalds 2005-04-16 108 = ^1da177e4c3f41 Linus Torvalds 2005-04-16 109 /*************************= ***************************************************/ ^1da177e4c3f41 Linus Torvalds 2005-04-16 110 /* ^1da177e4c3f41 Linus Torvalds 2005-04-16 111 * Routine writes a core d= ump image in the current directory. ^1da177e4c3f41 Linus Torvalds 2005-04-16 112 * Currently only a stub-f= unction. ^1da177e4c3f41 Linus Torvalds 2005-04-16 113 */ ^1da177e4c3f41 Linus Torvalds 2005-04-16 114 = f6151dfea21496 Masami Hiramatsu 2009-12-17 115 static int flat_core_dump(= struct coredump_params *cprm) ^1da177e4c3f41 Linus Torvalds 2005-04-16 116 { 4adbb6ac4b807e Nicolas Pitre 2016-07-24 117 pr_warn("Process %s:%d re= ceived signr %d and should have core dumped\n", 13c3f50c914e6a Nicolas Pitre 2016-07-24 @118 current->comm, current->= pid, cprm->siginfo->si_signo); 13c3f50c914e6a Nicolas Pitre 2016-07-24 119 return 1; ^1da177e4c3f41 Linus Torvalds 2005-04-16 120 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 121 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1020210043546022853==--