[drm-intel:topic/drm-misc 45/47] drivers/gpu/drm/drm_irq.c:237:12: error: static declaration of 'drm_vblank_count' follows non-static declaration

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

 



tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   b9876d5061a068ba647c8b9923aff8c975bb73a3
commit: d6b0f626375739b1faa2d9dfbca335a923b2a760 [45/47] drm/irq: Unexport drm_vblank_count
config: x86_64-randconfig-x008-201646 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout d6b0f626375739b1faa2d9dfbca335a923b2a760
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the drm-intel/topic/drm-misc HEAD b9876d5061a068ba647c8b9923aff8c975bb73a3 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/drm_irq.c:237:12: error: static declaration of 'drm_vblank_count' follows non-static declaration
    static u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe)
               ^~~~~~~~~~~~~~~~
   In file included from include/drm/drmP.h:637:0,
                    from drivers/gpu/drm/drm_irq.c:35:
   include/drm/drm_irq.h:139:12: note: previous declaration of 'drm_vblank_count' was here
    extern u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe);
               ^~~~~~~~~~~~~~~~

vim +/drm_vblank_count +237 drivers/gpu/drm/drm_irq.c

   231		if (!rc && (flags & DRM_CALLED_FROM_VBLIRQ) == 0)
   232			t_vblank = (struct timeval) {0, 0};
   233	
   234		store_vblank(dev, pipe, diff, &t_vblank, cur_vblank);
   235	}
   236	
 > 237	static u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe)
   238	{
   239		struct drm_vblank_crtc *vblank = &dev->vblank[pipe];
   240	

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux