[drm-intel:for-linux-next 3/6] drivers/gpu//drm/i915/display/intel_display.c:253:1: error: 'has_transcoder' defined but not used

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

 



tree:   git://anongit.freedesktop.org/drm-intel for-linux-next
head:   7a0a6ee731508b770f3ee198af7b0c87a20ebb80
commit: d54c1a513c487ac6d6b3c4595e93e3625b461cc3 [3/6] drm/i915: Fix broken transcoder err state
config: x86_64-randconfig-b003-20200226 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout d54c1a513c487ac6d6b3c4595e93e3625b461cc3
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/gpu//drm/i915/display/intel_display.c:253:1: error: 'has_transcoder' defined but not used [-Werror=unused-function]
    has_transcoder(struct drm_i915_private *dev_priv, enum transcoder cpu_transcoder)
    ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/has_transcoder +253 drivers/gpu//drm/i915/display/intel_display.c

   251	
   252	static bool
 > 253	has_transcoder(struct drm_i915_private *dev_priv, enum transcoder cpu_transcoder)
   254	{
   255		if (cpu_transcoder == TRANSCODER_EDP)
   256			return HAS_TRANSCODER_EDP(dev_priv);
   257		else
   258			return INTEL_INFO(dev_priv)->pipe_mask & BIT(cpu_transcoder);
   259	}
   260	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux