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

From: kbuild test robot
Date: Tue Dec 18 2018 - 10:58:19 EST

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]

base: git:// nand/next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
wget -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)))
cc1: some warnings being treated as errors

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

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 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip