[PATCH] mtd: nand: nuc900: allow compiling with COMPILE_TEST
kbuild test robot
lkp at intel.com
Fri Apr 8 16:40:47 PDT 2016
Hi Rafał,
[auto build test WARNING on mtd/master]
[also build test WARNING on v4.6-rc2 next-20160408]
[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/Rafa-Mi-ecki/mtd-nand-nuc900-allow-compiling-with-COMPILE_TEST/20160408-185814
base: git://git.infradead.org/linux-mtd.git master
config: blackfin-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=blackfin
All warnings (new ones prefixed by >>):
>> drivers/mtd/nand/nuc900_nand.c:36:0: warning: "SWRST" redefined [enabled by default]
arch/blackfin/mach-bf533/include/mach/defBF532.h:25:0: note: this is the location of the previous definition
vim +/SWRST +36 drivers/mtd/nand/nuc900_nand.c
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 20
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 21 #include <linux/mtd/mtd.h>
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 22 #include <linux/mtd/nand.h>
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 23 #include <linux/mtd/partitions.h>
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 24
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 25 #define REG_FMICSR 0x00
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 26 #define REG_SMCSR 0xa0
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 27 #define REG_SMISR 0xac
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 28 #define REG_SMCMD 0xb0
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 29 #define REG_SMADDR 0xb4
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 30 #define REG_SMDATA 0xb8
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 31
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 32 #define RESET_FMI 0x01
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 33 #define NAND_EN 0x08
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 34 #define READYBUSY (0x01 << 18)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 35
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 @36 #define SWRST 0x01
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 37 #define PSIZE (0x01 << 3)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 38 #define DMARWEN (0x03 << 1)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 39 #define BUSWID (0x01 << 4)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 40 #define ECC4EN (0x01 << 5)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 41 #define WP (0x01 << 24)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 42 #define NANDCS (0x01 << 25)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 43 #define ENDADDR (0x01 << 31)
8bff82cb drivers/mtd/nand/w90p910_nand.c Wan ZongShun 2009-07-10 44
:::::: The code at line 36 was first introduced by commit
:::::: 8bff82cbc30884fc52969608d090d874641e7196 mtd: add nand support for w90p910 (v2)
:::::: TO: Wan ZongShun <mcuos.com at gmail.com>
:::::: CC: David Woodhouse <David.Woodhouse at intel.com>
---
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/octet-stream
Size: 40348 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20160409/f747f96a/attachment-0001.obj>
More information about the linux-mtd
mailing list