[igt-dev] ✗ GitLab.Pipeline: warning for lib/igt_sysfs: move kick_snd_hda_intel() to igt_kmod.c

Patchwork patchwork at emeril.freedesktop.org
Wed Oct 25 10:10:48 UTC 2023


== Series Details ==

Series: lib/igt_sysfs: move kick_snd_hda_intel() to igt_kmod.c
URL   : https://patchwork.freedesktop.org/series/125553/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1018404 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736039):
     if (!S_ISLNK(st.st_mode))
          ^~~~~~~
          S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
     char fpath[PATH_MAX];
          ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    closedir(dir);
    ^~~~~~~~
    close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228409:step_script
  section_start:1698228409:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228410:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736042):
     if (!S_ISLNK(st.st_mode))
          ^~~~~~~
          S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
     char fpath[PATH_MAX];
          ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    closedir(dir);
    ^~~~~~~~
    close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228434:step_script
  section_start:1698228434:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228435:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736041):
     if (!S_ISLNK(st.st_mode))
          ^~~~~~~
          S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
     char fpath[PATH_MAX];
          ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    closedir(dir);
    ^~~~~~~~
    close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228425:step_script
  section_start:1698228425:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228426:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736043):
     if (!S_ISLNK(st.st_mode))
          ^~~~~~~
          S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
     char fpath[PATH_MAX];
          ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    closedir(dir);
    ^~~~~~~~
    close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228420:step_script
  section_start:1698228420:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228420:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736040):
     if (!S_ISLNK(st.st_mode))
          ^~~~~~~
          S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
     char fpath[PATH_MAX];
          ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    closedir(dir);
    ^~~~~~~~
    close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228405:step_script
  section_start:1698228405:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228406:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736034):
    478 |   if (!S_ISLNK(st.st_mode))
        |        ^~~~~~~
        |        S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
    469 |   char fpath[PATH_MAX];
        |        ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    487 |  closedir(dir);
        |  ^~~~~~~~
        |  close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228410:step_script
  section_start:1698228410:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228410:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736038):
  /usr/include/stdlib.h:852:14: note: 'div' declared here
  extern div_t div (int __numer, int __denom)
               ^
  ../lib/igt_kmod.c:868:5: warning: declaration does not declare anything [-Wmissing-declarations]
                                  __attribute__ ((fallthrough));
                                  ^
  ../lib/igt_kmod.c:1044:5: warning: declaration does not declare anything [-Wmissing-declarations]
                                  __attribute__ ((fallthrough));
                                  ^
  ../lib/igt_kmod.c:1271:5: warning: declaration does not declare anything [-Wmissing-declarations]
                                  __attribute__ ((fallthrough));
                                  ^
  4 warnings and 18 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1698228421:step_script
  section_start:1698228421:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228424:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736037):
    478 |   if (!S_ISLNK(st.st_mode))
        |        ^~~~~~~
        |        S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
    469 |   char fpath[PATH_MAX];
        |        ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    487 |  closedir(dir);
        |  ^~~~~~~~
        |  close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228405:step_script
  section_start:1698228405:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228405:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736035):
    478 |   if (!S_ISLNK(st.st_mode))
        |        ^~~~~~~
        |        S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
    469 |   char fpath[PATH_MAX];
        |        ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    487 |  closedir(dir);
        |  ^~~~~~~~
        |  close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228407:step_script
  section_start:1698228407:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228408:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50736036):
    478 |   if (!S_ISLNK(st.st_mode))
        |        ^~~~~~~
        |        S_IFLNK
  ../lib/igt_kmod.c:478:8: warning: nested extern declaration of ‘S_ISLNK’ [-Wnested-externs]
  ../lib/igt_kmod.c:469:8: warning: unused variable ‘fpath’ [-Wunused-variable]
    469 |   char fpath[PATH_MAX];
        |        ^~~~~
  ../lib/igt_kmod.c:487:2: error: implicit declaration of function ‘closedir’; did you mean ‘close’? [-Werror=implicit-function-declaration]
    487 |  closedir(dir);
        |  ^~~~~~~~
        |  close
  ../lib/igt_kmod.c:487:2: warning: nested extern declaration of ‘closedir’ [-Wnested-externs]
  cc1: some warnings being treated as errors
  ninja: build stopped: subcommand failed.
  section_end:1698228410:step_script
  section_start:1698228410:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1698228411:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1018404


More information about the igt-dev mailing list