tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-4.9 head: efa90756f6e447a7e4133b271e10597078fb58fc commit: b70d2c05b8b81f09a84d49215ab505ff2c0bd404 [4/30] drm/amd/display: Output Transfer Function Regamma Refactor config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout b70d2c05b8b81f09a84d49215ab505ff2c0bd404 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c: In function 'dce110_translate_regamma_to_hw_format': >> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:587:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct gamma_curve *arr_curve_points = regamma_params->arr_curve_points; ^~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:685:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct pwl_result_data *rgb = rgb_resulted; ^~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:587:22: warning: unused variable 'arr_curve_points' [-Wunused-variable] struct gamma_curve *arr_curve_points = regamma_params->arr_curve_points; ^~~~~~~~~~~~~~~~ vim +587 drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c 571 return false; 572 } 573 574 ++rgb; 575 ++i; 576 } 577 578 return true; 579 } 580 581 static bool dce110_translate_regamma_to_hw_format(const struct dc_transfer_func 582 *output_tf, struct pwl_params *regamma_params) 583 { 584 if (output_tf == NULL || regamma_params == NULL) 585 return false; 586 > 587 struct gamma_curve *arr_curve_points = regamma_params->arr_curve_points; 588 struct curve_points *arr_points = regamma_params->arr_points; 589 struct pwl_result_data *rgb_resulted = regamma_params->rgb_resulted; 590 struct fixed31_32 y_r; 591 struct fixed31_32 y_g; 592 struct fixed31_32 y_b; 593 struct fixed31_32 y1_min; 594 struct fixed31_32 y3_max; 595 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel