sorry for the noise, I forgot to rebase to v4.18-rc1 before picking this change up. since fixed and pushed out. On Fri, Jun 22 2018 at 2:40pm -0400, kbuild test robot <lkp@xxxxxxxxx> wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next > head: 696ee10fad76d6ec15f256e6dc2c08aa2c706890 > commit: 5174624414ac49495a08eca4ee584dac193c0eb7 [6/8] dm writecache: use 2-factor allocator arguments > config: mips-allyesconfig (attached as .config) > compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 5174624414ac49495a08eca4ee584dac193c0eb7 > # save the attached .config to linux build tree > GCC_VERSION=7.2.0 make.cross ARCH=mips > > All errors (new ones prefixed by >>): > > drivers/md/dm-writecache.c: In function 'writecache_alloc_entries': > >> drivers/md/dm-writecache.c:862:24: error: implicit declaration of function 'array_size'; did you mean '__ua_size'? [-Werror=implicit-function-declaration] > wc->entries = vmalloc(array_size(sizeof(struct wc_entry), wc->n_blocks)); > ^~~~~~~~~~ > __ua_size > cc1: some warnings being treated as errors > > vim +862 drivers/md/dm-writecache.c > > 855 > 856 static int writecache_alloc_entries(struct dm_writecache *wc) > 857 { > 858 size_t b; > 859 > 860 if (wc->entries) > 861 return 0; > > 862 wc->entries = vmalloc(array_size(sizeof(struct wc_entry), wc->n_blocks)); > 863 if (!wc->entries) > 864 return -ENOMEM; > 865 for (b = 0; b < wc->n_blocks; b++) { > 866 struct wc_entry *e = &wc->entries[b]; > 867 e->index = b; > 868 e->write_in_progress = false; > 869 } > 870 > 871 return 0; > 872 } > 873 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel