Hi Tom,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.8-rc3 next-20160819]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for 
convenience) to record what (public, well-known) commit your patch series was 
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    
https://github.com/0day-ci/linux/commits/Sagar-Arun-Kamble/drm-i915-slpc-Add-enable_slpc-module-parameter/20160820-131710
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x015-201633 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_guc_loader.c: In function 'sanitize_slpc_option':
>> drivers/gpu/drm/i915/intel_guc_loader.c:139:22: error: implicit declaration 
>> of function 'HAS_SLPC' [-Werror=implicit-function-declaration]
      i915.enable_slpc = HAS_SLPC(dev);
                         ^~~~~~~~
   cc1: some warnings being treated as errors

vim +/HAS_SLPC +139 drivers/gpu/drm/i915/intel_guc_loader.c

   133  }
   134  
   135  static void sanitize_slpc_option(struct drm_device *dev)
   136  {
   137          /* Handle default case */
   138          if (i915.enable_slpc < 0)
 > 139                  i915.enable_slpc = HAS_SLPC(dev);
   140  
   141          /* slpc requires hardware support and compatible firmware */
   142          if (!HAS_SLPC(dev))

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

Attachment: .config.gz
Description: Binary data

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

Reply via email to