Re: [PATCH] drm/i915: Convert dev_priv->dev backpointers to dev_priv->drm

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

 



Hi,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20160705]
[cannot apply to v4.7-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-Convert-dev_priv-dev-backpointers-to-dev_priv-drm/20160705-165731
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_drv.c: In function '__i915_printk':
>> drivers/gpu/drm/i915/i915_drv.c:80:31: error: 'struct drm_i915_private' has no member named 'dev'
     struct device *dev = dev_priv->dev->dev;
                                  ^~
   In file included from drivers/gpu/drm/i915/i915_drv.c:44:0:
   drivers/gpu/drm/i915/i915_drv.c: In function 'i915_dump_device_info':
   drivers/gpu/drm/i915/i915_drv.c:762:13: error: 'struct drm_i915_private' has no member named 'dev'
        dev_priv->dev->pdev->device,
                ^
   include/drm/drmP.h:211:41: note: in definition of macro 'DRM_DEBUG_DRIVER'
       drm_ut_debug_printk(__func__, fmt, ##args); \
                                            ^~~~
   drivers/gpu/drm/i915/i915_drv.c:763:13: error: 'struct drm_i915_private' has no member named 'dev'
        dev_priv->dev->pdev->revision,
                ^
   include/drm/drmP.h:211:41: note: in definition of macro 'DRM_DEBUG_DRIVER'
       drm_ut_debug_printk(__func__, fmt, ##args); \
                                            ^~~~

vim +80 drivers/gpu/drm/i915/i915_drv.c

0673ad47 Chris Wilson 2016-06-24  74  
0673ad47 Chris Wilson 2016-06-24  75  void
0673ad47 Chris Wilson 2016-06-24  76  __i915_printk(struct drm_i915_private *dev_priv, const char *level,
0673ad47 Chris Wilson 2016-06-24  77  	      const char *fmt, ...)
0673ad47 Chris Wilson 2016-06-24  78  {
0673ad47 Chris Wilson 2016-06-24  79  	static bool shown_bug_once;
0673ad47 Chris Wilson 2016-06-24 @80  	struct device *dev = dev_priv->dev->dev;
0673ad47 Chris Wilson 2016-06-24  81  	bool is_error = level[1] <= KERN_ERR[1];
0673ad47 Chris Wilson 2016-06-24  82  	bool is_debug = level[1] == KERN_DEBUG[1];
0673ad47 Chris Wilson 2016-06-24  83  	struct va_format vaf;

:::::: The code at line 80 was first introduced by commit
:::::: 0673ad472b9849ad6dbd83d5e3a3a63aba5db740 drm/i915: Merge i915_dma.c into i915_drv.c

:::::: TO: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
:::::: CC: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>

---
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
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