[Intel-gfx] [PATCH 4/6] drm/i915/cnp: Backlight support for CNP.

kbuild test robot lkp at intel.com
Wed May 31 05:57:51 UTC 2017


Hi Rodrigo,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.12-rc3 next-20170530]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Rodrigo-Vivi/drm-i915-cnp-Introduce-Cannonpoint-PCH/20170531-130947
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-x000-201722 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_panel.c: In function 'cnp_enable_backlight':
>> drivers/gpu/drm/i915/intel_panel.c:1106:12: error: unused variable 'pipe' [-Werror=unused-variable]
     enum pipe pipe = intel_get_pipe_from_connector(connector);
               ^~~~
   cc1: all warnings being treated as errors

vim +/pipe +1106 drivers/gpu/drm/i915/intel_panel.c

  1100	}
  1101	
  1102	static void cnp_enable_backlight(struct intel_connector *connector)
  1103	{
  1104		struct drm_i915_private *dev_priv = to_i915(connector->base.dev);
  1105		struct intel_panel *panel = &connector->panel;
> 1106		enum pipe pipe = intel_get_pipe_from_connector(connector);
  1107		u32 pwm_ctl;
  1108	
  1109		pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller));

---
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/gzip
Size: 26185 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170531/0187db5c/attachment-0001.gz>


More information about the Intel-gfx mailing list