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

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

 



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

Attachment: .config.gz
Description: Binary data

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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