Re: [PATCH 07/14] spi: rockchip: add compatible string for rv1108 spi

From: kbuild test robot
Date: Mon Jul 31 2017 - 09:17:17 EST


Hi Andy,

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.13-rc3 next-20170731]
[cannot apply to robh/for-next]
[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/Andy-Yan/Support-more-devices-on-rockchip-rv1108/20170731-200355
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

All errors (new ones prefixed by >>):

>> drivers/spi/spi-rockchip.c:923:2: error: expected '}' before '{' token
{ .compatible = "rockchip,rk3036-spi", },
^

vim +923 drivers/spi/spi-rockchip.c

64e36824 addy ke 2014-07-01 920
64e36824 addy ke 2014-07-01 921 static const struct of_device_id rockchip_spi_dt_match[] = {
b8251f6e Andy Yan 2017-07-31 922 { .compatible = "rockchip,rv1108-spi", }
aa29ea3d Caesar Wang 2016-05-20 @923 { .compatible = "rockchip,rk3036-spi", },
64e36824 addy ke 2014-07-01 924 { .compatible = "rockchip,rk3066-spi", },
b839b785 Addy Ke 2014-07-11 925 { .compatible = "rockchip,rk3188-spi", },
aa29ea3d Caesar Wang 2016-05-20 926 { .compatible = "rockchip,rk3228-spi", },
b839b785 Addy Ke 2014-07-11 927 { .compatible = "rockchip,rk3288-spi", },
aa29ea3d Caesar Wang 2016-05-20 928 { .compatible = "rockchip,rk3368-spi", },
9b7a5622 Xu Jianqun 2016-02-18 929 { .compatible = "rockchip,rk3399-spi", },
64e36824 addy ke 2014-07-01 930 { },
64e36824 addy ke 2014-07-01 931 };
64e36824 addy ke 2014-07-01 932 MODULE_DEVICE_TABLE(of, rockchip_spi_dt_match);
64e36824 addy ke 2014-07-01 933

:::::: The code at line 923 was first introduced by commit
:::::: aa29ea3df27dbba19ef59023d0f7330f2fdc58ae spi/rockchip: add the rk3036/rk3228/rk3368 to match for driver

:::::: TO: Caesar Wang <wxt@xxxxxxxxxxxxxx>
:::::: CC: Mark Brown <broonie@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip