[Intel-gfx] [drm-intel:drm-intel-nightly 1076/1086] drivers/gpu/drm/gma500/framebuffer.c:566:8: error: too few arguments to function 'drm_fb_helper_init'

kbuild test robot fengguang.wu at intel.com
Thu Feb 2 20:47:51 UTC 2017


tree:   git://anongit.freedesktop.org/drm-intel drm-intel-nightly
head:   0f01216949002d20b9dc6d300c82df5ffa59e9a7
commit: e4563f6ba71792c77aeccb2092cc23149b44e642 [1076/1086] drm: Rely on mode_config data for fb_helper initialization
config: i386-randconfig-x0-02030244 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout e4563f6ba71792c77aeccb2092cc23149b44e642
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the drm-intel/drm-intel-nightly HEAD 0f01216949002d20b9dc6d300c82df5ffa59e9a7 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/gpu/drm/gma500/framebuffer.c: In function 'psb_fbdev_init':
>> drivers/gpu/drm/gma500/framebuffer.c:566:8: error: too few arguments to function 'drm_fb_helper_init'
     ret = drm_fb_helper_init(dev, &fbdev->psb_fb_helper,
           ^~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/gma500/framebuffer.c:35:0:
   include/drm/drm_fb_helper.h:309:19: note: declared here
    static inline int drm_fb_helper_init(struct drm_device *dev,
                      ^~~~~~~~~~~~~~~~~~
--
   drivers/gpu/drm/qxl/qxl_fb.c: In function 'qxl_fbdev_init':
>> drivers/gpu/drm/qxl/qxl_fb.c:401:8: error: too few arguments to function 'drm_fb_helper_init'
     ret = drm_fb_helper_init(&qdev->ddev, &qfbdev->helper,
           ^~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/qxl/qxl_fb.c:35:0:
   include/drm/drm_fb_helper.h:309:19: note: declared here
    static inline int drm_fb_helper_init(struct drm_device *dev,
                      ^~~~~~~~~~~~~~~~~~

vim +/drm_fb_helper_init +566 drivers/gpu/drm/gma500/framebuffer.c

4d8d096e9 Alan Cox                2011-11-03  560  	}
4d8d096e9 Alan Cox                2011-11-03  561  
4d8d096e9 Alan Cox                2011-11-03  562  	dev_priv->fbdev = fbdev;
10a231026 Thierry Reding          2014-06-27  563  
10a231026 Thierry Reding          2014-06-27  564  	drm_fb_helper_prepare(dev, &fbdev->psb_fb_helper, &psb_fb_helper_funcs);
4d8d096e9 Alan Cox                2011-11-03  565  
01934c2a6 Thierry Reding          2014-12-19 @566  	ret = drm_fb_helper_init(dev, &fbdev->psb_fb_helper,
e4563f6ba Gabriel Krisman Bertazi 2017-02-02  567  				 INTELFB_CONN_LIMIT);
01934c2a6 Thierry Reding          2014-12-19  568  	if (ret)
01934c2a6 Thierry Reding          2014-12-19  569  		goto free;

:::::: The code at line 566 was first introduced by commit
:::::: 01934c2a691882185b3021d437df13bcba07711d drm/fb-helper: Propagate errors from initial config failure

:::::: TO: Thierry Reding <treding at nvidia.com>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

---
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/gzip
Size: 26606 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170203/ed0c072b/attachment-0001.gz>


More information about the Intel-gfx mailing list