[igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_writeback: Enhance kms_writeback for custom modes

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 23 01:04:52 UTC 2022


== Series Details ==

Series: tests/kms_writeback: Enhance kms_writeback for custom modes
URL   : https://patchwork.freedesktop.org/series/105522/
State : failure

== Summary ==

IGT patchset build failed on latest successful build
02153f109bd422d93cfce7f5aa9d7b0e22fab13c tests/kms_panel_fitting: Convert test to dynamic

    &data.user_mode.hskew, &data.user_mode.vdisplay,
                           ~~~~~~~~~~~~~~~~~~~~~~~~
../tests/kms_writeback.c:430:47: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 10 has type ‘uint16_t *’ {aka ‘short unsigned int *’} [-Wformat=]
  return sscanf(optarg, "%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%s", &data.user_mode.clock,
                                              ~^
                                              %hu
../tests/kms_writeback.c:434:4:
    &data.user_mode.vsync_start, &data.user_mode.vsync_end,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
../tests/kms_writeback.c:430:50: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 11 has type ‘uint16_t *’ {aka ‘short unsigned int *’} [-Wformat=]
  return sscanf(optarg, "%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%s", &data.user_mode.clock,
                                                 ~^
                                                 %hu
../tests/kms_writeback.c:434:33:
    &data.user_mode.vsync_start, &data.user_mode.vsync_end,
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/kms_writeback.c:430:53: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 12 has type ‘uint16_t *’ {aka ‘short unsigned int *’} [-Wformat=]
  return sscanf(optarg, "%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%s", &data.user_mode.clock,
                                                    ~^
                                                    %hu
../tests/kms_writeback.c:435:4:
    &data.user_mode.vtotal, &data.user_mode.vscan,
    ~~~~~~~~~~~~~~~~~~~~~~                            
../tests/kms_writeback.c:430:56: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 13 has type ‘uint16_t *’ {aka ‘short unsigned int *’} [-Wformat=]
  return sscanf(optarg, "%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%s", &data.user_mode.clock,
                                                       ~^
                                                       %hu
../tests/kms_writeback.c:435:28:
    &data.user_mode.vtotal, &data.user_mode.vscan,
                            ~~~~~~~~~~~~~~~~~~~~~        
../tests/kms_writeback.c:430:68: warning: format ‘%s’ expects argument of type ‘char *’, but argument 17 has type ‘char (*)[32]’ [-Wformat=]
  return sscanf(optarg, "%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%u:%s", &data.user_mode.clock,
                                                                   ~^
../tests/kms_writeback.c:437:27:
    &data.user_mode.flags, &data.user_mode.name);
                           ~~~~~~~~~~~~~~~~~~~~                      
../tests/kms_writeback.c: In function ‘__igt_unique____real_main479’:
../tests/kms_writeback.c:531:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   drmModePropertyBlobRes *formats_blob = get_writeback_formats_blob(output);
   ^~~~~~~~~~~~~~~~~~~~~~
../tests/kms_writeback.c:553:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   igt_fb_t invalid_output_fb;
   ^~~~~~~~
../tests/kms_writeback.c:569:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   igt_fb_t output_fb;
   ^~~~~~~~
../tests/kms_writeback.c:584:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   igt_fb_t output_fb;
   ^~~~~~~~
ninja: build stopped: subcommand failed.




More information about the igt-dev mailing list