Hi Kirill, Thank you for the patch! Yet something to improve: [auto build test ERROR on device-mapper-dm/for-next] [also build test ERROR on song-md/md-next linus/master v5.17 next-20220328] [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/intel-lab-lkp/linux/commits/Kirill-Tkhai/dm-Introduce-dm-qcow2-driver-to-attach-QCOW2-files-as-block-device/20220328-192031 base: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220329/202203290340.HdsYxZJQ-lkp@xxxxxxxxx/config) compiler: mips-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://github.com/intel-lab-lkp/linux/commit/c41a15c11909af3588885a88f6622c36dcc9ca35 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kirill-Tkhai/dm-Introduce-dm-qcow2-driver-to-attach-QCOW2-files-as-block-device/20220328-192031 git checkout c41a15c11909af3588885a88f6622c36dcc9ca35 # save the config file 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 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All error/warnings (new ones prefixed by >>): >> drivers/md/dm-qcow2-target.c:428:6: warning: no previous prototype for 'ploop_enospc_timer' [-Wmissing-prototypes] 428 | void ploop_enospc_timer(struct timer_list *timer) | ^~~~~~~~~~~~~~~~~~ -- drivers/md/dm-qcow2-map.c: In function 'process_cow_indexes_write': >> drivers/md/dm-qcow2-map.c:3861:28: warning: variable 'qvec' set but not used [-Wunused-but-set-variable] 3861 | struct qcow2_bvec *qvec; | ^~~~ drivers/md/dm-qcow2-map.c: At top level: >> drivers/md/dm-qcow2-map.c:4136:6: warning: no previous prototype for 'submit_embedded_qio' [-Wmissing-prototypes] 4136 | void submit_embedded_qio(struct qcow2_target *tgt, struct qio *qio) | ^~~~~~~~~~~~~~~~~~~ -- arch/mips/kernel/head.o: in function `kernel_entry': (.ref.text+0xac): relocation truncated to fit: R_MIPS_26 against `start_kernel' init/main.o: in function `set_reset_devices': main.c:(.init.text+0x20): relocation truncated to fit: R_MIPS_26 against `_mcount' main.c:(.init.text+0x30): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' init/main.o: in function `debug_kernel': main.c:(.init.text+0xa4): relocation truncated to fit: R_MIPS_26 against `_mcount' main.c:(.init.text+0xb4): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' init/main.o: in function `quiet_kernel': main.c:(.init.text+0x128): relocation truncated to fit: R_MIPS_26 against `_mcount' main.c:(.init.text+0x138): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' init/main.o: in function `warn_bootconfig': main.c:(.init.text+0x1ac): relocation truncated to fit: R_MIPS_26 against `_mcount' main.c:(.init.text+0x1bc): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' init/main.o: in function `init_setup': main.c:(.init.text+0x238): relocation truncated to fit: R_MIPS_26 against `_mcount' main.c:(.init.text+0x258): additional relocation overflows omitted from the output mips-linux-ld: drivers/md/dm-qcow2-target.o: in function `calc_cached_parameters': >> dm-qcow2-target.c:(.text.calc_cached_parameters+0x194): undefined reference to `__divdi3' >> mips-linux-ld: dm-qcow2-target.c:(.text.calc_cached_parameters+0x264): undefined reference to `__divdi3' mips-linux-ld: drivers/md/dm-qcow2-map.o: in function `qio_subclu_indexes': >> dm-qcow2-map.c:(.text.qio_subclu_indexes+0x21c): undefined reference to `__udivdi3' >> mips-linux-ld: dm-qcow2-map.c:(.text.qio_subclu_indexes+0x298): undefined reference to `__udivdi3' mips-linux-ld: drivers/md/dm-qcow2-map.o: in function `calc_refcounters_map': >> dm-qcow2-map.c:(.text.calc_refcounters_map+0x118): undefined reference to `__divdi3' >> mips-linux-ld: dm-qcow2-map.c:(.text.calc_refcounters_map+0x184): undefined reference to `__moddi3' >> mips-linux-ld: dm-qcow2-map.c:(.text.calc_refcounters_map+0x23c): undefined reference to `__divdi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_refcounters_map+0x46c): undefined reference to `__moddi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_refcounters_map+0x4a8): undefined reference to `__divdi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_refcounters_map+0x4f0): undefined reference to `__moddi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_refcounters_map+0x574): undefined reference to `__divdi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_refcounters_map+0x598): undefined reference to `__moddi3' mips-linux-ld: drivers/md/dm-qcow2-map.o: in function `calc_cluster_map': >> dm-qcow2-map.c:(.text.calc_cluster_map+0x178): undefined reference to `__divdi3' >> mips-linux-ld: dm-qcow2-map.c:(.text.calc_cluster_map+0x198): undefined reference to `__divdi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_cluster_map+0x3d8): undefined reference to `__divdi3' >> mips-linux-ld: dm-qcow2-map.c:(.text.calc_cluster_map+0x5a8): undefined reference to `__moddi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_cluster_map+0x5d0): undefined reference to `__moddi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_cluster_map+0x650): undefined reference to `__moddi3' mips-linux-ld: dm-qcow2-map.c:(.text.calc_cluster_map+0x6bc): undefined reference to `__moddi3' mips-linux-ld: drivers/md/dm-qcow2-map.o: in function `split_qio_to_list': >> dm-qcow2-map.c:(.text.split_qio_to_list+0x228): undefined reference to `__divdi3' >> mips-linux-ld: dm-qcow2-map.c:(.text.split_qio_to_list+0x244): undefined reference to `__divdi3' mips-linux-ld: drivers/md/dm-qcow2-map.o: in function `relocate_refcount_table': >> dm-qcow2-map.c:(.text.relocate_refcount_table+0x5c8): undefined reference to `__udivdi3' -- 0-DAY CI Kernel Test Service https://01.org/lkp -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel