[tegra:for-4.8/work 4/28] drivers/gpu/drm/i915/intel_dp_mst.c:493:21: error: unused variable 'dev'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-4.8/work
head:   d2ff1d174bed6e4bcbe7976c8ebfe391825325e8
commit: 221fbd70e8c8b69119023cd945117ca21dd62493 [4/28] drm/fb-helper: Push down modeset lock into FB helpers
config: i386-randconfig-i0-201629 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        git checkout 221fbd70e8c8b69119023cd945117ca21dd62493
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_dp_mst.c: In function 'intel_dp_destroy_mst_connector':
>> drivers/gpu/drm/i915/intel_dp_mst.c:493:21: error: unused variable 'dev' [-Werror=unused-variable]
     struct drm_device *dev = connector->dev;
                        ^
   cc1: all warnings being treated as errors

vim +/dev +493 drivers/gpu/drm/i915/intel_dp_mst.c

0e32b39c Dave Airlie       2014-05-02  487  }
0e32b39c Dave Airlie       2014-05-02  488  
0e32b39c Dave Airlie       2014-05-02  489  static void intel_dp_destroy_mst_connector(struct drm_dp_mst_topology_mgr *mgr,
0e32b39c Dave Airlie       2014-05-02  490  					   struct drm_connector *connector)
0e32b39c Dave Airlie       2014-05-02  491  {
0e32b39c Dave Airlie       2014-05-02  492  	struct intel_connector *intel_connector = to_intel_connector(connector);
0e32b39c Dave Airlie       2014-05-02 @493  	struct drm_device *dev = connector->dev;
20fae983 Maarten Lankhorst 2015-08-06  494  
c191eca1 Chris Wilson      2016-06-17  495  	drm_connector_unregister(connector);
1f771755 Lyude             2016-03-16  496  

:::::: The code at line 493 was first introduced by commit
:::::: 0e32b39ceed665bfa4a77a4bc307b6652b991632 drm/i915: add DP 1.2 MST support (v0.7)

:::::: TO: Dave Airlie <airlied@xxxxxxxxxx>
:::::: CC: Dave Airlie <airlied@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux