Hi Sagar,

[auto build test WARNING on drm-intel/for-linux-next]
[cannot apply to v4.8-rc3 next-20160823]
[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/Add-support-for-GuC-based-SLPC/20160823-204034
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-defconfig (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=i386 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_slpc.c: In function 'intel_slpc_enable':
>> drivers/gpu/drm/i915/intel_slpc.c:299:15: warning: unused variable 'page' 
>> [-Wunused-variable]
     struct page *page;
                  ^~~~

vim +/page +299 drivers/gpu/drm/i915/intel_slpc.c

   283  
   284  void intel_slpc_suspend(struct drm_i915_private *dev_priv)
   285  {
   286          host2guc_slpc_shutdown(dev_priv);
   287          dev_priv->guc.slpc.enabled = false;
   288  }
   289  
   290  void intel_slpc_disable(struct drm_i915_private *dev_priv)
   291  {
   292          host2guc_slpc_shutdown(dev_priv);
   293          dev_priv->guc.slpc.enabled = false;
   294  }
   295  
   296  void intel_slpc_enable(struct drm_i915_private *dev_priv)
   297  {
   298          struct drm_i915_gem_object *obj;
 > 299          struct page *page;
   300          void *pv = NULL;
   301          struct slpc_shared_data data;
   302          u64 val;
   303  
   304          host2guc_slpc_reset(dev_priv);
   305          dev_priv->guc.slpc.enabled = true;
   306  
   307          /* Enable only GTPERF task, Disable others */

---
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