Re: [PATCH v8 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Liang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on mtd/nand/next]
[also build test ERROR on v4.20-rc7 next-20181218]
[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/Jianxin-Pan/dt-bindings-nand-meson-add-Amlogic-NAND-controller-driver/20181217-070347
base:   git://git.infradead.org/linux-mtd.git nand/next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-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
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/mtd/nand/raw/meson_nand.c: In function 'meson_nfc_is_buffer_dma_safe':
>> drivers/mtd/nand/raw/meson_nand.c:833:35: error: implicit declaration of function 'object_is_on_stack'; did you mean 'do_softirq_own_stack'? [-Werror=implicit-function-declaration]
     if (virt_addr_valid(buffer) && (!object_is_on_stack(buffer)))
                                      ^~~~~~~~~~~~~~~~~~
                                      do_softirq_own_stack
   cc1: some warnings being treated as errors

vim +833 drivers/mtd/nand/raw/meson_nand.c

   830	
   831	bool meson_nfc_is_buffer_dma_safe(const void *buffer)
   832	{
 > 833		if (virt_addr_valid(buffer) && (!object_is_on_stack(buffer)))
   834			return true;
   835		return false;
   836	}
   837	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux