Re: [PATCH v4] mtd: spi-nor: add hisilicon spi-nor flash controller driver

From: kbuild test robot
Date: Mon Jan 25 2016 - 09:17:39 EST


Hi Jiancheng,

[auto build test ERROR on v4.5-rc1]
[also build test ERROR on next-20160125]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Jiancheng-Xue/mtd-spi-nor-add-hisilicon-spi-nor-flash-controller-driver/20160125-150412
config: arm64-allyesconfig (attached as .config)
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=arm64

All errors (new ones prefixed by >>):

drivers/mtd/spi-nor/hisi-sfc.c: In function 'hisi_spi_nor_probe':
>> drivers/mtd/spi-nor/hisi-sfc.c:423:6: error: 'struct spi_nor' has no member named 'flash_node'
nor->flash_node = np;
^

vim +423 drivers/mtd/spi-nor/hisi-sfc.c

417 struct mtd_info *mtd = &nor->mtd;
418 struct mtd_partition *parts = NULL;
419 int nr_parts = 0;
420
421 mtd->name = np->name;
422 nor->dev = dev;
> 423 nor->flash_node = np;
424 ret = of_property_read_u32(np, "reg", &priv->chipselect);
425 if (ret)
426 goto fail;

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

Attachment: .config.gz
Description: Binary data