[drm:drm-next 16/16] drivers/gpu//drm/i915/intel_dp.c:1551:12: error: 'rate_to_index' defined but not used

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

 



tree:   git://people.freedesktop.org/~airlied/linux.git drm-next
head:   925344ccc91d7a7fd84cab2dece1c34bbd86fd8c
commit: 925344ccc91d7a7fd84cab2dece1c34bbd86fd8c [16/16] BackMerge tag 'v4.12-rc5' into drm-next
config: x86_64-randconfig-it0-06161413 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 925344ccc91d7a7fd84cab2dece1c34bbd86fd8c
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> drivers/gpu//drm/i915/intel_dp.c:1551:12: error: 'rate_to_index' defined but not used [-Werror=unused-function]
    static int rate_to_index(int find, const int *rates)
               ^
   cc1: all warnings being treated as errors

vim +/rate_to_index +1551 drivers/gpu//drm/i915/intel_dp.c

0336400ebe Ville Syrjälä 2015-03-12  1545  
975ee5fca1 Jani Nikula   2017-04-06  1546  	snprintf_int_array(str, sizeof(str),
975ee5fca1 Jani Nikula   2017-04-06  1547  			   intel_dp->common_rates, intel_dp->num_common_rates);
94ca719ee4 Ville Syrjälä 2015-03-13  1548  	DRM_DEBUG_KMS("common rates: %s\n", str);
0336400ebe Ville Syrjälä 2015-03-12  1549  }
0336400ebe Ville Syrjälä 2015-03-12  1550  
f4896f1529 Ville Syrjälä 2015-03-12 @1551  static int rate_to_index(int find, const int *rates)
1a2724fa94 Mika Kahola   2016-09-09  1552  {
a8f3ef6197 Sonika Jindal 2015-03-05  1553  	int i = 0;
1a2724fa94 Mika Kahola   2016-09-09  1554  

:::::: The code at line 1551 was first introduced by commit
:::::: f4896f1529c43fb0688164ed33aebdf525a34fb7 drm/i915: Make the DP rates int instead of uint32_t

:::::: TO: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
:::::: CC: Daniel Vetter <daniel.vetter@xxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
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