[Intel-gfx] [PATCH 1/2] drm/i915: Create a intel_encoder_find_connector helper function.

kbuild test robot lkp at intel.com
Tue Aug 23 16:32:20 UTC 2016


Hi Maarten,

[auto build test ERROR 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/Maarten-Lankhorst/drm-i915-Create-a-intel_encoder_find_connector-helper-function/20160823-222308
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x009-201634 (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_display.c: In function 'intel_sanitize_encoder':
>> drivers/gpu/drm/i915/intel_display.c:16539:21: error: unused variable 'dev' [-Werror=unused-variable]
     struct drm_device *dev = encoder->base.dev;
                        ^~~
   cc1: all warnings being treated as errors

vim +/dev +16539 drivers/gpu/drm/i915/intel_display.c

4cc31489 Daniel Vetter 2014-03-24  16533  	}
24929352 Daniel Vetter 2012-07-02  16534  }
24929352 Daniel Vetter 2012-07-02  16535  
24929352 Daniel Vetter 2012-07-02  16536  static void intel_sanitize_encoder(struct intel_encoder *encoder)
24929352 Daniel Vetter 2012-07-02  16537  {
24929352 Daniel Vetter 2012-07-02  16538  	struct intel_connector *connector;
24929352 Daniel Vetter 2012-07-02 @16539  	struct drm_device *dev = encoder->base.dev;
24929352 Daniel Vetter 2012-07-02  16540  
24929352 Daniel Vetter 2012-07-02  16541  	/* We need to check both for a crtc link (meaning that the
24929352 Daniel Vetter 2012-07-02  16542  	 * encoder is active and trying to read from a pipe) and the

:::::: The code at line 16539 was first introduced by commit
:::::: 24929352481f085c5f85d4d4cbc919ddf106d381 drm/i915: read out the modeset hw state at load and resume time

:::::: TO: Daniel Vetter <daniel.vetter at ffwll.ch>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

---
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/octet-stream
Size: 28683 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160824/2685674f/attachment-0001.obj>


More information about the Intel-gfx mailing list