[PATCH] mtd: nand: use of_property_read_u8()

kbuild test robot lkp at intel.com
Mon Nov 23 11:01:44 EST 2015


Hi Saurabh,

[auto build test ERROR on mtd/master]
[also build test ERROR on v4.4-rc2 next-20151123]

url:    https://github.com/0day-ci/linux/commits/Saurabh-Sengar/mtd-nand-use-of_property_read_u8/20151123-222906
base:   git://git.infradead.org/linux-mtd.git master
config: arm-mvebu_v5_defconfig (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=arm 

All errors (new ones prefixed by >>):

   drivers/mtd/nand/orion_nand.c: In function 'orion_nand_probe':
>> drivers/mtd/nand/orion_nand.c:114:2: error: expected ';' before '}' token
     } else {
     ^

vim +114 drivers/mtd/nand/orion_nand.c

a0fabf722 Jamie Lentin      2012-04-18  108  			board->ale = 1;
c4d333ec0 Saurabh Sengar    2015-11-23  109  		if (of_property_read_u8(pdev->dev.of_node,
c4d333ec0 Saurabh Sengar    2015-11-23  110  						"bank-width", &board->width))
a0fabf722 Jamie Lentin      2012-04-18  111  			board->width = 8;
c4d333ec0 Saurabh Sengar    2015-11-23  112  		of_property_read_u8(pdev->dev.of_node,
c4d333ec0 Saurabh Sengar    2015-11-23  113  					"chip-delay", &board->chip_delay)
453810b79 Jingoo Han        2013-07-30 @114  	} else {
453810b79 Jingoo Han        2013-07-30  115  		board = dev_get_platdata(&pdev->dev);
453810b79 Jingoo Han        2013-07-30  116  	}
2a1dba293 Tzachi Perelstein 2007-10-17  117  

:::::: The code at line 114 was first introduced by commit
:::::: 453810b79571ff6622a481f0556fc4972f87a24f mtd: nand: use dev_get_platdata()

:::::: TO: Jingoo Han <jg1.han at samsung.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: 21028 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20151124/19856fcf/attachment-0001.obj>


More information about the linux-mtd mailing list