[Intel-gfx] [drm-intel:topic/drm-misc 11/28] drivers/gpu/drm/exynos/exynos_drm_g2d.c:896:17: error: 'dev' undeclared

kbuild test robot fengguang.wu at intel.com
Mon Jan 25 01:18:56 PST 2016


tree:   git://anongit.freedesktop.org/drm-intel topic/drm-misc
head:   509fef264d33d93a0a008b7dc5ee0270e658ae7a
commit: 1236454581865ae1b60dde71d6dd2d6435d41d88 [11/28] drm: Create drm_send_event helpers
config: arm-allmodconfig (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
        git checkout 1236454581865ae1b60dde71d6dd2d6435d41d88
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/exynos/exynos_drm_g2d.c: In function 'g2d_finish_event':
>> drivers/gpu/drm/exynos/exynos_drm_g2d.c:896:17: error: 'dev' undeclared (first use in this function)
     drm_send_event(dev, &e->base);
                    ^
   drivers/gpu/drm/exynos/exynos_drm_g2d.c:896:17: note: each undeclared identifier is reported only once for each function it appears in
   drivers/gpu/drm/exynos/exynos_drm_g2d.c:883:16: warning: unused variable 'flags' [-Wunused-variable]
     unsigned long flags;
                   ^
   drivers/gpu/drm/exynos/exynos_drm_g2d.c:879:21: warning: unused variable 'drm_dev' [-Wunused-variable]
     struct drm_device *drm_dev = g2d->subdrv.drm_dev;
                        ^
--
   drivers/gpu/drm/exynos/exynos_drm_ipp.c: In function 'ipp_send_event':
>> drivers/gpu/drm/exynos/exynos_drm_ipp.c:1523:17: error: 'dev' undeclared (first use in this function)
     drm_send_event(dev, &e->base);
                    ^
   drivers/gpu/drm/exynos/exynos_drm_ipp.c:1523:17: note: each undeclared identifier is reported only once for each function it appears in
   drivers/gpu/drm/exynos/exynos_drm_ipp.c:1410:16: warning: unused variable 'flags' [-Wunused-variable]
     unsigned long flags;
                   ^

vim +/dev +896 drivers/gpu/drm/exynos/exynos_drm_g2d.c

   890	
   891		do_gettimeofday(&now);
   892		e->event.tv_sec = now.tv_sec;
   893		e->event.tv_usec = now.tv_usec;
   894		e->event.cmdlist_no = cmdlist_no;
   895	
 > 896		drm_send_event(dev, &e->base);
   897	}
   898	
   899	static irqreturn_t g2d_irq_handler(int irq, void *dev_id)

---
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/octet-stream
Size: 54631 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20160125/3117d4b1/attachment-0001.obj>


More information about the Intel-gfx mailing list