[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Don't spew errors when resetting HDMI scrambling/bit clock ratio fails

Patchwork patchwork at emeril.freedesktop.org
Thu Mar 22 13:51:09 UTC 2018


== Series Details ==

Series: drm/i915: Don't spew errors when resetting HDMI scrambling/bit clock ratio fails
URL   : https://patchwork.freedesktop.org/series/40461/
State : failure

== Summary ==

CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  DESCEND  objtool
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/compile.h
  CHK     kernel/config_data.h
  CC [M]  drivers/gpu/drm/i915/intel_ddi.o
drivers/gpu/drm/i915/intel_ddi.c: In function ‘intel_enable_ddi_hdmi’:
drivers/gpu/drm/i915/intel_ddi.c:2430:8: error: passing argument 2 of ‘intel_hdmi_sink_scrambling_enable’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
        crtc_state, conn_state);
        ^~~~~~~~~~
In file included from drivers/gpu/drm/i915/i915_trace.h:11:0,
                 from drivers/gpu/drm/i915/i915_drv.h:2656,
                 from drivers/gpu/drm/i915/intel_ddi.c:29:
drivers/gpu/drm/i915/intel_drv.h:1786:6: note: expected ‘struct intel_crtc_state *’ but argument is of type ‘const struct intel_crtc_state *’
 void intel_hdmi_sink_scrambling_enable(struct intel_encoder *encoder,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_ddi.c:2430:20: error: passing argument 3 of ‘intel_hdmi_sink_scrambling_enable’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
        crtc_state, conn_state);
                    ^~~~~~~~~~
In file included from drivers/gpu/drm/i915/i915_trace.h:11:0,
                 from drivers/gpu/drm/i915/i915_drv.h:2656,
                 from drivers/gpu/drm/i915/intel_ddi.c:29:
drivers/gpu/drm/i915/intel_drv.h:1786:6: note: expected ‘struct drm_connector_state *’ but argument is of type ‘const struct drm_connector_state *’
 void intel_hdmi_sink_scrambling_enable(struct intel_encoder *encoder,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_ddi.c: In function ‘intel_disable_ddi_hdmi’:
drivers/gpu/drm/i915/intel_ddi.c:2526:8: error: passing argument 2 of ‘intel_hdmi_sink_scrambling_enable’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
        old_crtc_state, old_conn_state);
        ^~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/i915_trace.h:11:0,
                 from drivers/gpu/drm/i915/i915_drv.h:2656,
                 from drivers/gpu/drm/i915/intel_ddi.c:29:
drivers/gpu/drm/i915/intel_drv.h:1786:6: note: expected ‘struct intel_crtc_state *’ but argument is of type ‘const struct intel_crtc_state *’
 void intel_hdmi_sink_scrambling_enable(struct intel_encoder *encoder,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_ddi.c:2526:24: error: passing argument 3 of ‘intel_hdmi_sink_scrambling_enable’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
        old_crtc_state, old_conn_state);
                        ^~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/i915_trace.h:11:0,
                 from drivers/gpu/drm/i915/i915_drv.h:2656,
                 from drivers/gpu/drm/i915/intel_ddi.c:29:
drivers/gpu/drm/i915/intel_drv.h:1786:6: note: expected ‘struct drm_connector_state *’ but argument is of type ‘const struct drm_connector_state *’
 void intel_hdmi_sink_scrambling_enable(struct intel_encoder *encoder,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:324: recipe for target 'drivers/gpu/drm/i915/intel_ddi.o' failed
make[4]: *** [drivers/gpu/drm/i915/intel_ddi.o] Error 1
scripts/Makefile.build:583: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:583: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:583: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1051: recipe for target 'drivers' failed
make: *** [drivers] Error 2



More information about the Intel-gfx mailing list