[drm-tip:drm-tip 1066/1073] drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c:376:8: error: too few arguments to function 'drm_fb_helper_init'

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

 



tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   36aab92fa2091dd54ea983752aa40e427e83d113
commit: e4563f6ba71792c77aeccb2092cc23149b44e642 [1066/1073] drm: Rely on mode_config data for fb_helper initialization
config: i386-randconfig-x007-201705 (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 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c: In function 'amdgpu_fbdev_init':
>> drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c:376:8: error: too few arguments to function 'drm_fb_helper_init'
     ret = drm_fb_helper_init(adev->ddev, &rfbdev->helper,
           ^~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h:39:0,
                    from drivers/gpu/drm/amd/amdgpu/amdgpu.h:50,
                    from drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c:34:
   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 +376 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c

d38ceaf9 Alex Deucher 2015-04-20  370  	rfbdev->adev = adev;
d38ceaf9 Alex Deucher 2015-04-20  371  	adev->mode_info.rfbdev = rfbdev;
d38ceaf9 Alex Deucher 2015-04-20  372  
d38ceaf9 Alex Deucher 2015-04-20  373  	drm_fb_helper_prepare(adev->ddev, &rfbdev->helper,
d38ceaf9 Alex Deucher 2015-04-20  374  			&amdgpu_fb_helper_funcs);
d38ceaf9 Alex Deucher 2015-04-20  375  
d38ceaf9 Alex Deucher 2015-04-20 @376  	ret = drm_fb_helper_init(adev->ddev, &rfbdev->helper,
d38ceaf9 Alex Deucher 2015-04-20  377  				 AMDGPUFB_CONN_LIMIT);
d38ceaf9 Alex Deucher 2015-04-20  378  	if (ret) {
d38ceaf9 Alex Deucher 2015-04-20  379  		kfree(rfbdev);

:::::: The code at line 376 was first introduced by commit
:::::: d38ceaf99ed015f2a0b9af3499791bd3a3daae21 drm/amdgpu: add core driver (v4)

:::::: TO: Alex Deucher <alexander.deucher@xxxxxxx>
:::::: CC: Alex Deucher <alexander.deucher@xxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux