[Intel-gfx] [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
kbuild test robot
fengguang.wu at intel.com
Wed Nov 16 00:49:36 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 26786 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161116/b9ddc002/attachment-0001.gz>
More information about the Intel-gfx
mailing list