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

kbuild test robot lkp at intel.com
Tue Jul 5 09:23:08 UTC 2016


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 at chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris at chris-wilson.co.uk>

---
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: 53976 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160705/d35e52a4/attachment-0001.obj>


More information about the Intel-gfx mailing list