[PATCH V4] mtd: nand: add Loongson1 NAND driver

kbuild test robot lkp at intel.com
Wed Nov 2 04:33:47 PDT 2016


Hi Kelvin,

[auto build test ERROR on mtd/master]
[also build test ERROR on v4.9-rc3 next-20161028]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Keguang-Zhang/mtd-nand-add-Loongson1-NAND-driver/20161102-095605
base:   git://git.infradead.org/linux-mtd.git master
config: mips-loongson1c_defconfig (attached as .config)
compiler: mipsel-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   drivers/mtd/nand/loongson1_nand.c: In function 'setup_dma':
>> drivers/mtd/nand/loongson1_nand.c:134:18: error: 'struct plat_ls1x_nand' has no member named 'dma_filter'
     if (!nand->pdata->dma_filter) {
                     ^~
   In file included from drivers/mtd/nand/loongson1_nand.c:15:0:
   drivers/mtd/nand/loongson1_nand.c:148:57: error: 'struct plat_ls1x_nand' has no member named 'dma_filter'
     nandc->dma_chan = dma_request_channel(mask, nand->pdata->dma_filter,
                                                            ^
   include/linux/dmaengine.h:1398:72: note: in definition of macro 'dma_request_channel'
    #define dma_request_channel(mask, x, y) __dma_request_channel(&(mask), x, y)
                                                                           ^

vim +134 drivers/mtd/nand/loongson1_nand.c

   128		struct ls1x_nand_controller *nandc =
   129		    to_ls1x_nand_controller(chip->controller);
   130		struct dma_slave_config cfg;
   131		dma_cap_mask_t mask;
   132		int ret;
   133	
 > 134		if (!nand->pdata->dma_filter) {
   135			dev_err(mtd->dev.parent, "no DMA filter\n");
   136			return -ENOENT;
   137		}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 12631 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20161102/c4174840/attachment.gz>


More information about the linux-mtd mailing list