Hi Mikulas, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on axboe-block/for-next] [also build test WARNING on linus/master v5.17-rc2 next-20220202] [cannot apply to linux-nvme/for-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] url: https://github.com/0day-ci/linux/commits/Mikulas-Patocka/block-add-copy-offload-support/20220202-033318 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20220202/202202021549.3g79sGNE-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579) 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://github.com/0day-ci/linux/commit/b59e9d971770c50aaac1d07d6edaa10a4a47171b git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Mikulas-Patocka/block-add-copy-offload-support/20220202-033318 git checkout b59e9d971770c50aaac1d07d6edaa10a4a47171b # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/media/cec/platform/seco/ drivers/net/ethernet/cavium/thunder/ drivers/net/wireless/ath/ drivers/nvme/host/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/nvme/host/nvme-debug.c:148:5: warning: no previous prototype for function 'nvme_debug_reg_read64' [-Wmissing-prototypes] int nvme_debug_reg_read64(struct nvme_ctrl *nctrl, u32 off, u64 *val) ^ drivers/nvme/host/nvme-debug.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int nvme_debug_reg_read64(struct nvme_ctrl *nctrl, u32 off, u64 *val) ^ static >> drivers/nvme/host/nvme-debug.c:163:5: warning: no previous prototype for function 'nvme_debug_reg_write32' [-Wmissing-prototypes] int nvme_debug_reg_write32(struct nvme_ctrl *nctrl, u32 off, u32 val) ^ drivers/nvme/host/nvme-debug.c:163:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int nvme_debug_reg_write32(struct nvme_ctrl *nctrl, u32 off, u32 val) ^ static >> drivers/nvme/host/nvme-debug.c:758:6: warning: variable 'r' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (!ctrl->io_wq) ^~~~~~~~~~~~ drivers/nvme/host/nvme-debug.c:804:17: note: uninitialized use occurs here return ERR_PTR(r); ^ drivers/nvme/host/nvme-debug.c:758:2: note: remove the 'if' if its condition is always false if (!ctrl->io_wq) ^~~~~~~~~~~~~~~~~ drivers/nvme/host/nvme-debug.c:754:6: warning: variable 'r' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (!ctrl->admin_wq) ^~~~~~~~~~~~~~~ drivers/nvme/host/nvme-debug.c:804:17: note: uninitialized use occurs here return ERR_PTR(r); ^ drivers/nvme/host/nvme-debug.c:754:2: note: remove the 'if' if its condition is always false if (!ctrl->admin_wq) ^~~~~~~~~~~~~~~~~~~~ drivers/nvme/host/nvme-debug.c:738:7: note: initialize the variable 'r' to silence this warning int r; ^ = 0 4 warnings generated. vim +/nvme_debug_reg_read64 +148 drivers/nvme/host/nvme-debug.c 147 > 148 int nvme_debug_reg_read64(struct nvme_ctrl *nctrl, u32 off, u64 *val) 149 { 150 switch (off) { 151 case NVME_REG_CAP: { 152 *val = (1ULL << 0) | (1ULL << 37); 153 break; 154 } 155 default: { 156 printk("nvme_debug_reg_read64: %x\n", off); 157 return -ENOSYS; 158 } 159 } 160 return 0; 161 } 162 > 163 int nvme_debug_reg_write32(struct nvme_ctrl *nctrl, u32 off, u32 val) 164 { 165 struct nvme_debug_ctrl *ctrl = to_debug_ctrl(nctrl); 166 switch (off) { 167 case NVME_REG_CC: { 168 ctrl->reg_cc = val; 169 break; 170 } 171 default: { 172 printk("nvme_debug_reg_write32: %x, %x\n", off, val); 173 return -ENOSYS; 174 } 175 } 176 return 0; 177 } 178 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org