Hi Mike, [This is a private test report for your RFC patch.] kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.4-rc2 next-20230518] [cannot apply to mst-vhost/linux-next] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Mike-Christie/signal-Dequeue-SIGKILL-even-if-SIGNAL_GROUP_EXIT-group_exec_task-is-set/20230518-081200 base: linus/master patch link: https://lore.kernel.org/r/20230518000920.191583-9-michael.christie%40oracle.com patch subject: [RFC PATCH 8/8] fork/vhost_task: remove no_files config: riscv-randconfig-s031-20230517 compiler: riscv64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/d18f7c90da8b141f82ec5a17a21a58ce6af1b977 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Mike-Christie/signal-Dequeue-SIGKILL-even-if-SIGNAL_GROUP_EXIT-group_exec_task-is-set/20230518-081200 git checkout d18f7c90da8b141f82ec5a17a21a58ce6af1b977 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202305190640.dexoqIdN-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) WARNING: invalid argument to '-march': '_zihintpause' >> kernel/vhost_task.c:99:63: sparse: sparse: incorrect type in initializer (different base types) @@ expected int [noderef] __user *pidfd @@ got int @@ kernel/vhost_task.c:99:63: sparse: expected int [noderef] __user *pidfd kernel/vhost_task.c:99:63: sparse: got int vim +99 kernel/vhost_task.c 83 84 /** 85 * vhost_task_create - create a copy of a process to be used by the kernel 86 * @fn: thread stack 87 * @arg: data to be passed to fn 88 * @name: the thread's name 89 * 90 * This returns a specialized task for use by the vhost layer or NULL on 91 * failure. The returned task is inactive, and the caller must fire it up 92 * through vhost_task_start(). 93 */ 94 struct vhost_task *vhost_task_create(int (*fn)(void *), void *arg, 95 const char *name) 96 { 97 struct kernel_clone_args args = { 98 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | > 99 CLONE_THREAD | CLONE_FILES, CLONE_SIGHAND, 100 .exit_signal = 0, 101 .fn = vhost_task_fn, 102 .name = name, 103 .user_worker = 1, 104 .block_signals = 1, 105 }; 106 struct vhost_task *vtsk; 107 struct task_struct *tsk; 108 109 vtsk = kzalloc(sizeof(*vtsk), GFP_KERNEL); 110 if (!vtsk) 111 return NULL; 112 init_completion(&vtsk->exited); 113 vtsk->data = arg; 114 vtsk->fn = fn; 115 116 args.fn_arg = vtsk; 117 118 tsk = copy_process(NULL, 0, NUMA_NO_NODE, &args); 119 if (IS_ERR(tsk)) { 120 kfree(vtsk); 121 return NULL; 122 } 123 124 vtsk->task = tsk; 125 return vtsk; 126 } 127 EXPORT_SYMBOL_GPL(vhost_task_create); 128 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki