Hi Matt,

[auto build test WARNING on drm/drm-next -- if it's inappropriate base, please 
suggest rules for selecting the more suitable base]

url:    
https://github.com/0day-ci/linux/commits/Matt-Roper/CRTC-background-color-support-for-i915/20151023-082852
config: x86_64-randconfig-x005-10211812 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_debugfs.c: In function 'i915_display_info':
>> drivers/gpu/drm/i915/i915_debugfs.c:2983:18: warning: format '%x' expects 
>> argument of type 'unsigned int', but argument 3 has type 'uint64_t {aka long 
>> long unsigned int}' [-Wformat=]
       seq_printf(m, "\tbackground color (10bpc): r=%x g=%x b=%x\n",
                     ^
>> drivers/gpu/drm/i915/i915_debugfs.c:2983:18: warning: too many arguments for 
>> format [-Wformat-extra-args]

vim +2983 drivers/gpu/drm/i915/i915_debugfs.c

  2967                             crtc->base.base.id, pipe_name(crtc->pipe),
  2968                             yesno(pipe_config->base.active),
  2969                             pipe_config->pipe_src_w, 
pipe_config->pipe_src_h);
  2970                  if (pipe_config->base.active) {
  2971                          intel_crtc_info(m, crtc);
  2972  
  2973                          active = cursor_position(dev, crtc->pipe, &x, 
&y);
  2974                          seq_printf(m, "\tcursor visible? %s, position 
(%d, %d), size %dx%d, addr 0x%08x, active? %s\n",
  2975                                     yesno(crtc->cursor_base),
  2976                                     x, y, 
crtc->base.cursor->state->crtc_w,
  2977                                     crtc->base.cursor->state->crtc_h,
  2978                                     crtc->cursor_addr, yesno(active));
  2979                  }
  2980                  if (INTEL_INFO(dev)->gen >= 9 && 
pipe_config->base.active) {
  2981                          drm_rgba_t background = 
pipe_config->base.background_color;
  2982  
> 2983                          seq_printf(m, "\tbackground color (10bpc): r=%x 
> g=%x b=%x\n",
  2984                                     background.v,
  2985                                     DRM_RGBA_REDBITS(background, 10),
  2986                                     DRM_RGBA_GREENBITS(background, 10),
  2987                                     DRM_RGBA_BLUEBITS(background, 10));
  2988                  }
  2989  
  2990                  seq_printf(m, "\tunderrun reporting: cpu=%s pch=%s \n",
  2991                             yesno(!crtc->cpu_fifo_underrun_disabled),

---
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
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to