Warnings on amd-staging-drm-next branch

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

 



Hi

I get the following warnings when using GCC 6.3 and the new
amd-staging-drm-next branch

axion agd5f # make -j20
 CHK     include/config/kernel.release
 CHK     include/generated/uapi/linux/version.h
 CHK     include/generated/utsrelease.h
 CHK     include/generated/timeconst.h
 CHK     include/generated/bounds.h
 CHK     include/generated/asm-offsets.h
 CALL    scripts/checksyscalls.sh
 CHK     include/generated/compile.h
 CHK     kernel/config_data.h
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_device.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_kms.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.o
 CC      drivers/gpu/drm/amd/amdgpu/atombios_crtc.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.o
 CC      drivers/gpu/drm/amd/amdgpu/atom.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_fence.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_object.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_gart.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_display.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_fb.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_gem.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_ring.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_cs.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_bios.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_test.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_pm.o
 CC      drivers/gpu/drm/amd/amdgpu/atombios_dp.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.o
 CC      drivers/gpu/drm/amd/amdgpu/atombios_encoders.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_sa.o
 CC      drivers/gpu/drm/amd/amdgpu/atombios_i2c.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_prime.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_vm.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_ib.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_pll.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_sync.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.o
 CC      drivers/gpu/drm/amd/amdgpu/vi.o
 CC      drivers/gpu/drm/amd/amdgpu/gmc_v7_0.o
 CC      drivers/gpu/drm/amd/amdgpu/gmc_v8_0.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_irq.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_ih.o
 CC      drivers/gpu/drm/amd/amdgpu/iceland_ih.o
 CC      drivers/gpu/drm/amd/amdgpu/tonga_ih.o
 CC      drivers/gpu/drm/amd/amdgpu/cz_ih.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.o
 CC      drivers/gpu/drm/amd/amdgpu/dce_v10_0.o
 CC      drivers/gpu/drm/amd/amdgpu/dce_v11_0.o
 CC      drivers/gpu/drm/amd/amdgpu/dce_virtual.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.o
 CC      drivers/gpu/drm/amd/amdgpu/gfx_v8_0.o
 CC      drivers/gpu/drm/amd/amdgpu/sdma_v2_4.o
 CC      drivers/gpu/drm/amd/amdgpu/sdma_v3_0.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.o
 CC      drivers/gpu/drm/amd/amdgpu/uvd_v5_0.o
 CC      drivers/gpu/drm/amd/amdgpu/uvd_v6_0.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_vce.o
 CC      drivers/gpu/drm/amd/amdgpu/vce_v3_0.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_job.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_ioc32.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.o
 CC      drivers/gpu/drm/amd/amdgpu/amdgpu_mn.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smumgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/cz_smumgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smumgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smc.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smumgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/iceland_smumgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/polaris10_smc.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/tonga_smc.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu7_smumgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/iceland_smc.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/processpptables.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/functiontables.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hardwaremanager.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/pp_acpi.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/cz_hwmgr.o
 CC
     drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/cz_clockpowergating.o
 CC
     drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/process_pptables_v1_0.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/ppatomctrl.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_powertune.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_thermal.o
 CC
     drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_clockpowergating.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/eventmgr/eventmgr.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/eventmgr/eventinit.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/eventmgr/eventmanagement.o
 CC
     drivers/gpu/drm/amd/amdgpu/../powerplay/eventmgr/eventactionchains.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/eventmgr/eventsubchains.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/eventmgr/eventtasks.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/eventmgr/psm.o
 CC      drivers/gpu/drm/amd/amdgpu/../powerplay/amd_powerplay.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_services.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt31_32.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt32_32.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/grph_object_id.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/logger.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/log_helpers.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/signal_types.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/basics/vector.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser_interface.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser_helper.o
In file included from ./include/linux/agp_backend.h:33:0,
                from ./include/drm/drmP.h:35,
                from
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c:29:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c: In
function â??create_target_for_sinkâ??:
./include/linux/list.h:385:29: warning: initialization discards â??constâ??
qualifier from pointer target type [-Wdiscarded-qualifiers]
 struct list_head *head__ = (ptr); \
                            ^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_types.c:972:20: note:
in expansion of macro â??list_first_entry_or_nullâ??
  preferred_mode = list_first_entry_or_null(
                   ^~~~~~~~~~~~~~~~~~~~~~~~
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/bios/dce80/command_table_helper_dce80.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/bios/dce110/command_table_helper_dce110.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/bios/dce112/command_table_helper_dce112.o

 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/bandwidth_calcs.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/bw_fixed.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/gamma_calcs.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_audio.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_hwseq.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_mem_input.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clock_source.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_scl_filters.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_clocks.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_base.o
drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/gamma_calcs.c:201:13: warning:
â??round_custom_float_6_12â?? defined but not used [-Wunused-function]
static bool round_custom_float_6_12(
            ^~~~~~~~~~~~~~~~~~~~~~~
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_factory.o
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c: In
function â??dce110_link_encoder_constructâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1066:2:
warning:
this â??ifâ?? clause does not guard... [-Wmisleading-indentation]
 if (BP_RESULT_OK == bp_funcs->get_encoder_cap_info(
 ^~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1071:3: note:
...this statement, but the latter is misleadingly indented as if it is
guarded by the â??ifâ??
  enc110->base.features.flags.bits.IS_HBR3_CAPABLE =
  ^~~~~~
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_gpio.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_hpd.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_ddc.o
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c: In function â??
regamma_config_regions_and_segmentsâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:122:11: warning: unused
variable â??valueâ?? [-Wunused-variable]
 uint32_t value = 0;
          ^~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c: In function â??
dce110_opp_set_clampingâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:568:11: warning: unused
variable â??clamp_cntl_valueâ?? [-Wunused-variable]
 uint32_t clamp_cntl_value = 0;
          ^~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c: In function â??
program_formatter_reset_dig_resync_fifoâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:734:10: warning: unused
variable â??counterâ?? [-Wunused-variable]
 uint8_t counter = 10;
         ^~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c: In function â??
configure_graphics_modeâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_opp.c:813:21: warning: unused
variable â??ctxâ?? [-Wunused-variable]
 struct dc_context *ctx = opp110->base.ctx;
                    ^~~
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_translate.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/dce80/hw_translate_dce80.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/dce80/hw_factory_dce80.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/dce110/hw_translate_dce110.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/dce110/hw_factory_dce110.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_translate_diag.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_diag.o

 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/aux_engine.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/engine_base.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/i2caux.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/i2c_engine.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/i2c_generic_hw_engine.o

 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/i2c_hw_engine.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/i2c_sw_engine.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce80/i2caux_dce80.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce80/i2c_hw_engine_dce80.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce80/i2c_sw_engine_dce80.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce100/i2caux_dce100.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce110/i2caux_dce110.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce110/i2c_sw_engine_dce110.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce110/i2c_hw_engine_dce110.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce110/aux_engine_dce110.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/dce112/i2caux_dce112.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/i2caux/diagnostics/i2caux_diag.o

 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/irq/irq_service.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dce80/irq_service_dce80.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/irq/dce110/irq_service_dce110.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_encoder.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_stream_encoder.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_compressor.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_hw_sequencer.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_mem_input.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_ipp.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_ipp_cursor.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_ipp_gamma.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_timing_generator.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_compressor.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_resource.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_opp_regamma_v.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_opp_csc_v.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_timing_generator_v.o

 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_mem_input_v.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_opp_v.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_transform_v.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.o
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_hw_sequencer.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_ipp.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_ipp_gamma.o
drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_ipp_gamma.c: In
function â??dce110_ipp_set_degammaâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_ipp_gamma.c:75:11:
warning:
unused variable â??valueâ?? [-Wunused-variable]
 uint32_t value = 0;
          ^~~~~
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_timing_generator.o

 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_compressor.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_mem_input.o
drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c: In
function â??dce110_set_output_transfer_funcâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:296:29:
warning:
unused variable â??prescale_paramsâ?? [-Wunused-variable]
 struct ipp_prescale_params prescale_params = { 0 };
                            ^~~~~~~~~~~~~~~
 CC
     drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_hw_sequencer.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_hw_sequencer.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_target.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_sink.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_surface.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_hwss.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_ddc.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.o
 CC      drivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.o
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c: In function â??
set_hdr_static_info_packetâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1740:2: warning:
ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 struct dc_hdr_static_metadata hdr_metadata =
 ^~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1760:2: warning:
ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 uint32_t data;
 ^~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c: In function â??
set_avi_info_frameâ??:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1495:38: warning:
iteration 28 invokes undefined behavior [-Waggressive-loop-optimizations]
  info_packet->sb[byte_index] = info_frame.avi_info_packet.
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  info_packet_hdmi.packet_raw_data.sb[byte_index];
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1493:2:
note: within
this loop
 for (byte_index = 0; byte_index < sizeof(info_packet->sb); byte_index++)
 ^~~
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c: In function â??
set_hdr_static_info_packet.isra.8â??:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1734:11: warning:
â??iâ?? may be used uninitialized in this function [-Wmaybe-uninitialized]
 uint16_t i;
          ^
 LD      drivers/gpu/drm/amd/amdgpu/amdgpu.o
 LD      drivers/gpu/drm/amd/amdgpu/built-in.o
 LD      drivers/gpu/drm/built-in.o
 LD      drivers/gpu/built-in.o
 LD      drivers/built-in.o
 LD      vmlinux.o

Would you like me to raise bugs for any of these or are they already known
about?

Regards

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170104/de433a34/attachment-0001.html>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux