Re: [PATCH v4 2/2] video: fbdev: pxafb: initial devicetree conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Robert,

[auto build test ERROR on v4.4-rc1]
[also build test ERROR on next-20151116]

url:    https://github.com/0day-ci/linux/commits/Robert-Jarzmik/video-fbdev-pxafb-loosen-the-platform-data-bond/20151117-053946
config: arm-spitz_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 error/warnings (new ones prefixed by >>):

>> drivers/video/fbdev/pxafb.c:2469:3: error: field name not in record or union initializer
      .compatible = "marvell,pxa300-lcdc",
      ^
   drivers/video/fbdev/pxafb.c:2469:3: error: (near initialization for 'pxafb_of_dev_id[1].name')
>> drivers/video/fbdev/pxafb.c:2471:2: warning: braces around scalar initializer
     {
     ^
   drivers/video/fbdev/pxafb.c:2471:2: warning: (near initialization for 'pxafb_of_dev_id[1].type[0]')
   drivers/video/fbdev/pxafb.c:2472:3: error: field name not in record or union initializer
      .compatible = "marvell,pxa2xx-lcdc",
      ^
   drivers/video/fbdev/pxafb.c:2472:3: error: (near initialization for 'pxafb_of_dev_id[1].type[0]')
>> drivers/video/fbdev/pxafb.c:2472:3: warning: initialization makes integer from pointer without a cast
   drivers/video/fbdev/pxafb.c:2472:3: warning: (near initialization for 'pxafb_of_dev_id[1].type[0]')
>> drivers/video/fbdev/pxafb.c:2472:3: error: initializer element is not computable at load time
   drivers/video/fbdev/pxafb.c:2472:3: error: (near initialization for 'pxafb_of_dev_id[1].type[0]')
   drivers/video/fbdev/pxafb.c:2473:2: warning: braces around scalar initializer
     }, {
     ^
   drivers/video/fbdev/pxafb.c:2473:2: warning: (near initialization for 'pxafb_of_dev_id[1].type[1]')
>> drivers/video/fbdev/pxafb.c:2476:2: error: expected '}' before ';' token
    };
     ^
   drivers/video/fbdev/pxafb.c:2243:12: warning: 'pxafb_probe' defined but not used [-Wunused-function]
    static int pxafb_probe(struct platform_device *dev)
               ^
   drivers/video/fbdev/pxafb.c:2425:12: warning: 'pxafb_remove' defined but not used [-Wunused-function]
    static int pxafb_remove(struct platform_device *dev)
               ^

vim +2469 drivers/video/fbdev/pxafb.c

  2463	
  2464	static const struct of_device_id pxafb_of_dev_id[] = {
  2465		{
  2466			.compatible = "marvell,pxa270-lcdc",
  2467		}, {
  2468		{
> 2469			.compatible = "marvell,pxa300-lcdc",
  2470		}, {
> 2471		{
> 2472			.compatible = "marvell,pxa2xx-lcdc",
  2473		}, {
  2474			/* sentinel */
  2475		}
> 2476	};
  2477	MODULE_DEVICE_TABLE(of, pxafb_of_dev_id);
  2478	
  2479	static struct platform_driver pxafb_driver = {

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux