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

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

 



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@xxxxxxxxx>
:::::: CC: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@xxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux