tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   aed2ea22e07850d8f5fae07fcf3db8adf694b3d9
commit: 9c654e423507127b37b32e15543b2e04a719eab2 [6/9] Merge remote-tracking 
branch 'drm-intel/drm-intel-next-queued' into drm-tip
config: i386-randconfig-g002-20200206 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
        git checkout 9c654e423507127b37b32e15543b2e04a719eab2
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <[email protected]>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/display/intel_display.c:17691:12: error: redefinition 
of 'sanitize_watermarks_add_affected'
    static int sanitize_watermarks_add_affected(struct drm_atomic_state *state)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/display/intel_display.c:17667:12: note: previous 
definition of 'sanitize_watermarks_add_affected' was here
    static int sanitize_watermarks_add_affected(struct drm_atomic_state *state)
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/i915/display/intel_display.c:17667:12: error: 
>> 'sanitize_watermarks_add_affected' defined but not used 
>> [-Werror=unused-function]
   cc1: all warnings being treated as errors

vim +/sanitize_watermarks_add_affected +17667 
drivers/gpu/drm/i915/display/intel_display.c

 17666  
 17667  static int sanitize_watermarks_add_affected(struct drm_atomic_state 
*state)
 17668  {
 17669          struct drm_plane *plane;
 17670          struct drm_crtc *crtc;
 17671  
 17672          drm_for_each_crtc(crtc, state->dev) {
 17673                  struct drm_crtc_state *crtc_state;
 17674  
 17675                  crtc_state = drm_atomic_get_crtc_state(state, crtc);
 17676                  if (IS_ERR(crtc_state))
 17677                          return PTR_ERR(crtc_state);
 17678          }
 17679  
 17680          drm_for_each_plane(plane, state->dev) {
 17681                  struct drm_plane_state *plane_state;
 17682  
 17683                  plane_state = drm_atomic_get_plane_state(state, plane);
 17684                  if (IS_ERR(plane_state))
 17685                          return PTR_ERR(plane_state);
 17686          }
 17687  
 17688          return 0;
 17689  }
 17690  

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/[email protected] Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to