[drm-intel:drm-intel-next-queued 2/2] drivers/gpu/drm/i915/i915_gem_stolen.c:516:20: error: unused variable 'ggtt'

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

 



tree:   git://anongit.freedesktop.org/drm-intel drm-intel-next-queued
head:   95a2e2be952c3c3a643b8e0504f2ceef15294d4d
commit: 95a2e2be952c3c3a643b8e0504f2ceef15294d4d [2/2] drm/i915: Remove stolen object spam
config: x86_64-randconfig-in0-11180217 (attached as .config)
compiler: gcc-4.6 (Debian 4.6.4-7) 4.6.4
reproduce:
        git checkout 95a2e2be952c3c3a643b8e0504f2ceef15294d4d
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_gem_stolen.c: In function 'i915_pages_create_for_stolen':
>> drivers/gpu/drm/i915/i915_gem_stolen.c:516:20: error: unused variable 'ggtt' [-Werror=unused-variable]
   cc1: all warnings being treated as errors

vim +/ggtt +516 drivers/gpu/drm/i915/i915_gem_stolen.c

0104fdbb8 Chris Wilson    2012-11-15  510  
0104fdbb8 Chris Wilson    2012-11-15  511  static struct sg_table *
0104fdbb8 Chris Wilson    2012-11-15  512  i915_pages_create_for_stolen(struct drm_device *dev,
0104fdbb8 Chris Wilson    2012-11-15  513  			     u32 offset, u32 size)
0104fdbb8 Chris Wilson    2012-11-15  514  {
72e96d645 Joonas Lahtinen 2016-03-30  515  	struct drm_i915_private *dev_priv = to_i915(dev);
72e96d645 Joonas Lahtinen 2016-03-30 @516  	struct i915_ggtt *ggtt = &dev_priv->ggtt;
0104fdbb8 Chris Wilson    2012-11-15  517  	struct sg_table *st;
0104fdbb8 Chris Wilson    2012-11-15  518  	struct scatterlist *sg;
0104fdbb8 Chris Wilson    2012-11-15  519  

:::::: The code at line 516 was first introduced by commit
:::::: 72e96d6450c067f58b65224bb5e73914e2cc43ab drm/i915: Refer to GGTT {,VM} consistently

:::::: TO: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
:::::: CC: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
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