[Intel-gfx] [drm-intel:for-linux-next 2/4] drivers/gpu/drm/i915/intel_dp_link_training.c:131:6: error: unused variable 'i'

kbuild test robot fengguang.wu at intel.com
Sat Sep 10 04:40:13 UTC 2016


tree:   git://anongit.freedesktop.org/drm-intel for-linux-next
head:   c92bd2fa33038d18858beca3cc65d53c99ce95f6
commit: 7bfaddf057f3ae774fa355cb7d87324ca67add94 [2/4] drm/i915/dp: Move max. vswing check to it's own function
config: i386-randconfig-x008-201636 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 7bfaddf057f3ae774fa355cb7d87324ca67add94
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the drm-intel/for-linux-next HEAD c92bd2fa33038d18858beca3cc65d53c99ce95f6 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_dp_link_training.c: In function 'intel_dp_link_training_clock_recovery':
>> drivers/gpu/drm/i915/intel_dp_link_training.c:131:6: error: unused variable 'i' [-Werror=unused-variable]
     int i;
         ^
   cc1: all warnings being treated as errors

vim +/i +131 drivers/gpu/drm/i915/intel_dp_link_training.c

7bfaddf0 Dhinakaran Pandiyan         2016-09-07  125  }
7bfaddf0 Dhinakaran Pandiyan         2016-09-07  126  
94223d04 Ander Conselvan de Oliveira 2015-10-23  127  /* Enable corresponding port and start training pattern 1 */
94223d04 Ander Conselvan de Oliveira 2015-10-23  128  static void
94223d04 Ander Conselvan de Oliveira 2015-10-23  129  intel_dp_link_training_clock_recovery(struct intel_dp *intel_dp)
94223d04 Ander Conselvan de Oliveira 2015-10-23  130  {
94223d04 Ander Conselvan de Oliveira 2015-10-23 @131  	int i;
94223d04 Ander Conselvan de Oliveira 2015-10-23  132  	uint8_t voltage;
94223d04 Ander Conselvan de Oliveira 2015-10-23  133  	int voltage_tries, loop_tries;
94223d04 Ander Conselvan de Oliveira 2015-10-23  134  	uint8_t link_config[2];

:::::: The code at line 131 was first introduced by commit
:::::: 94223d041b0716cee45240cdcd635357d7302021 drm/i915: Move generic link training code to a separate file

:::::: TO: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
:::::: CC: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>

---
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: 32925 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160910/6f708965/attachment-0001.obj>


More information about the Intel-gfx mailing list