Building evdi for DisplayLink, CFLAGs are not what they should be

Dear fellow NixOs users,
I’m using nixos-22.11 and have a pretty default flakes config.
I wanted to install the evdi package, but it failed for multiple versions.

This is my override, I even added the -Wno-error=unused-parameter, because I wanted to override the -Werror that for some reason is in the CFLAGS (see logs below)

     evdi = super.linuxKernel.packages.linux_6_2.evdi.overrideAttrs (oldAttrs: {
      # version = "unstable-2022-10-13";
      version = "1.13.1";
      src = super.fetchFromGitHub {
        owner = "DisplayLink";
        repo = "evdi";
        rev = "bdc258b25df4d00f222fde0e3c5003bf88ef17b5";
        sha256 = "sha256-mt+vEp9FFf7smmE2PzuH/3EYl7h89RBN1zTVvv2qJ/o=";
      };
      NIX_CFLAGS_COMPILE = "-Wno-error -Wno-error=sign-compare -Wno-error=unused-parameter";
    });

my nix log /nix/store/...drv:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/3rmcn95069szq9gn9dzzmmavc1z4nrpz-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j16 SHELL=/nix/store/96ky1zdkpq871h2dlk198fz0zvklr1dr-bash-5.1-p16/bin/bash O=\$\(buildRoot\) CC=/nix/store/dkw46jgi8i0bq64cag95v4ywz6g9bnga-gcc-wrapper-11.3.0/bin/cc HOSTCC=/nix/store/dkw46jgi8i0bq64cag95v4ywz6g9bnga-gcc-wrapper-11.3.0/bin/cc HOSTLD=/nix/store/ky760iqmnd2wcngvzlrh7703i11qvagj-binutils-wrapper-2.39/bin/ld ARCH=x86_64 KVER=6.2.7 KDIR=/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/build
CFLAGS="-isystem./include -isystem./include/uapi -Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers -Werror=sign-compare " make -C module -j16 --jobserver-auth=3,4
make[1]: warning: -j16 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/build/source/module'
make -C /nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/build M=$PWD
make[2]: Entering directory '/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/build'
  CC [M]  /build/source/module/evdi_platform_drv.o
  CC [M]  /build/source/module/evdi_platform_dev.o
  CC [M]  /build/source/module/evdi_sysfs.o
  CC [M]  /build/source/module/evdi_modeset.o
  CC [M]  /build/source/module/evdi_connector.o
  CC [M]  /build/source/module/evdi_encoder.o
  CC [M]  /build/source/module/evdi_drm_drv.o
  CC [M]  /build/source/module/evdi_fb.o
  CC [M]  /build/source/module/evdi_gem.o
  CC [M]  /build/source/module/evdi_painter.o
  CC [M]  /build/source/module/evdi_params.o
  CC [M]  /build/source/module/evdi_cursor.o
  CC [M]  /build/source/module/evdi_debug.o
  CC [M]  /build/source/module/evdi_i2c.o
  CC [M]  /build/source/module/evdi_ioc32.o
In file included from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/asm-generic/rwonce.h:26e[me[K,
                 from e[01me[K./arch/x86/include/generated/asm/rwonce.h:1e[me[K,
                 from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/compiler.h:247e[me[K,
                 from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/seqlock.h:16e[me[K,
                 from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/drm/drm_vblank.h:27e[me[K,
                 from e[01me[K/build/source/module/evdi_modeset.c:16e[me[K:
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:e[me[K In function 'e[01me[K__kasan_check_reade[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:22:60:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kpe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   22 | static inline bool __kasan_check_read(e[01;35me[Kconst volatile void *pe[me[K, unsigned int size)
      |                                       e[01;35me[K~~~~~~~~~~~~~~~~~~~~~^e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:22:76:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ksizee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   22 | static inline bool __kasan_check_read(const volatile void *p, e[01;35me[Kunsigned int sizee[me[K)
      |                                                               e[01;35me[K~~~~~~~~~~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:e[me[K In function 'e[01me[K__kasan_check_writee[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:26:61:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kpe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   26 | static inline bool __kasan_check_write(e[01;35me[Kconst volatile void *pe[me[K, unsigned int size)
      |                                        e[01;35me[K~~~~~~~~~~~~~~~~~~~~~^e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:26:77:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ksizee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   26 | static inline bool __kasan_check_write(const volatile void *p, e[01;35me[Kunsigned int sizee[me[K)
      |                                                                e[01;35me[K~~~~~~~~~~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:e[me[K In function 'e[01me[Kkasan_check_reade[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:40:58:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kpe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   40 | static inline bool kasan_check_read(e[01;35me[Kconst volatile void *pe[me[K, unsigned int size)
      |                                     e[01;35me[K~~~~~~~~~~~~~~~~~~~~~^e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:40:74:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ksizee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   40 | static inline bool kasan_check_read(const volatile void *p, e[01;35me[Kunsigned int sizee[me[K)
      |                                                             e[01;35me[K~~~~~~~~~~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:e[me[K In function 'e[01me[Kkasan_check_writee[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:44:59:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kpe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   44 | static inline bool kasan_check_write(e[01;35me[Kconst volatile void *pe[me[K, unsigned int size)
      |                                      e[01;35me[K~~~~~~~~~~~~~~~~~~~~~^e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kasan-checks.h:44:75:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ksizee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   44 | static inline bool kasan_check_write(const volatile void *p, e[01;35me[Kunsigned int sizee[me[K)
      |                                                              e[01;35me[K~~~~~~~~~~~~~^~~~e[me[K
In file included from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/asm-generic/rwonce.h:27e[me[K,
                 from e[01me[K./arch/x86/include/generated/asm/rwonce.h:1e[me[K,
                 from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/compiler.h:247e[me[K,
                 from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/seqlock.h:16e[me[K,
                 from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/drm/drm_vblank.h:27e[me[K,
                 from e[01me[K/build/source/module/evdi_modeset.c:16e[me[K:
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:e[me[K In function 'e[01me[K__kcsan_check_accesse[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:189:62:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kptre[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
  189 | static inline void __kcsan_check_access(e[01;35me[Kconst volatile void *ptre[me[K, size_t size,
      |                                         e[01;35me[K~~~~~~~~~~~~~~~~~~~~~^~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:189:74:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ksizee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
  189 | static inline void __kcsan_check_access(const volatile void *ptr, e[01;35me[Ksize_t sizee[me[K,
      |                                                                   e[01;35me[K~~~~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:190:45:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ktypee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
  190 |                                         e[01;35me[Kint typee[me[K) { }
      |                                         e[01;35me[K~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:e[me[K In function 'e[01me[Kkcsan_atomic_nexte[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:203:42:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kne[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
  203 | static inline void kcsan_atomic_next(e[01;35me[Kint ne[me[K)             { }
      |                                      e[01;35me[K~~~~^e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:e[me[K In function 'e[01me[Kkcsan_set_access_maske[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/kcsan-checks.h:204:56:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kmaske[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
  204 | static inline void kcsan_set_access_mask(e[01;35me[Kunsigned long maske[me[K) { }
...
      |                                                      e[01;35me[K~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/security.h:e[me[K In function 'e[01me[Ksecurity_xfrm_decode_sessione[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/security.h:1812:64:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kskbe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
 1812 | static inline int security_xfrm_decode_session(e[01;35me[Kstruct sk_buff *skbe[me[K, u32 *secid)
      |                                                e[01;35me[K~~~~~~~~~~~~~~~~^~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/security.h:1812:74:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ksecide[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
 1812 | static inline int security_xfrm_decode_session(struct sk_buff *skb, e[01;35me[Ku32 *secide[me[K)
      |                                                                     e[01;35me[K~~~~~^~~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/security.h:e[me[K In function 'e[01me[Ksecurity_skb_classify_flowe[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/security.h:1817:63:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kskbe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
 1817 | static inline void security_skb_classify_flow(e[01;35me[Kstruct sk_buff *skbe[me[K,
      |                                               e[01;35me[K~~~~~~~~~~~~~~~~^~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/security.h:1818:68:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kflice[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
 1818 |                                               e[01;35me[Kstruct flowi_common *flice[me[K)
      |                                               e[01;35me[K~~~~~~~~~~~~~~~~~~~~~^~~~e[me[K
e[01me[K/build/source/module/evdi_fb.c:e[me[K In function 'e[01me[Kevdifb_createe[me[K':
e[01me[K/build/source/module/evdi_fb.c:408:24:e[me[K e[01;31me[Kerror: e[me[K'e[01me[Kstruct drm_fb_helpere[me[K' has no member named 'e[01me[Kfbdeve[me[K'; did you mean 'e[01me[Kdeve[me[K'?
  408 |         efbdev->helper.e[01;31me[Kfbdeve[me[K = info;
      |                        e[01;31me[K^~~~~e[me[K
      |                        e[32me[Kdeve[me[K
e[01me[K/build/source/module/evdi_fb.c:e[me[K In function 'e[01me[Kevdi_fbdev_destroye[me[K':
e[01me[K/build/source/module/evdi_fb.c:462:28:e[me[K e[01;31me[Kerror: e[me[K'e[01me[Kstruct drm_fb_helpere[me[K' has no member named 'e[01me[Kfbdeve[me[K'; did you mean 'e[01me[Kdeve[me[K'?
  462 |         if (efbdev->helper.e[01;31me[Kfbdeve[me[K) {
      |                            e[01;31me[K^~~~~e[me[K
      |                            e[32me[Kdeve[me[K
e[01me[K/build/source/module/evdi_fb.c:463:39:e[me[K e[01;31me[Kerror: e[me[K'e[01me[Kstruct drm_fb_helpere[me[K' has no member named 'e[01me[Kfbdeve[me[K'; did you mean 'e[01me[Kdeve[me[K'?
  463 |                 info = efbdev->helper.e[01;31me[Kfbdeve[me[K;
      |                                       e[01;31me[K^~~~~e[me[K
      |                                       e[32me[Kdeve[me[K
In file included from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/shmem_fs.h:11e[me[K,
                 from e[01me[K/build/source/module/evdi_gem.c:26e[me[K:
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:e[me[K In function 'e[01me[Kvalidate_constant_tablee[me[K':
e[01me[K/build/source/module/evdi_fb.c:e[me[K In function 'e[01me[Kevdi_fbdev_unpluge[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:90:73:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ktble[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   90 | static inline bool validate_constant_table(e[01;35me[Kconst struct constant_table *tble[me[K, size_t tbl_size,
      |                                            e[01;35me[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:90:85:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Ktbl_sizee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   90 | static inline bool validate_constant_table(const struct constant_table *tbl, e[01;35me[Ksize_t tbl_sizee[me[K,
      |                                                                              e[01;35me[K~~~~~~~^~~~~~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:91:48:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Klowe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   91 |                                            e[01;35me[Kint lowe[me[K, int high, int special)
      |                                            e[01;35me[K~~~~^~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:91:57:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Khighe[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   91 |                                            int low, e[01;35me[Kint highe[me[K, int special)
      |                                                     e[01;35me[K~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:91:67:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kspeciale[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   91 |                                            int low, int high, e[01;35me[Kint speciale[me[K)
      |                                                               e[01;35me[K~~~~^~~~~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:e[me[K In function 'e[01me[Kfs_validate_descriptione[me[K':
e[01me[K/build/source/module/evdi_fb.c:540:28:e[me[K e[01;31me[Kerror: e[me[K'e[01me[Kstruct drm_fb_helpere[me[K' has no member named 'e[01me[Kfbdeve[me[K'; did you mean 'e[01me[Kdeve[me[K'?
  540 |         if (efbdev->helper.e[01;31me[Kfbdeve[me[K) {
      |                            e[01;31me[K^~~~~e[me[K
      |                            e[32me[Kdeve[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:93:56:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Knamee[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   93 | static inline bool fs_validate_description(e[01;35me[Kconst char *namee[me[K,
      |                                            e[01;35me[K~~~~~~~~~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/fs_parser.h:94:76:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kdesce[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   94 |                                            e[01;35me[Kconst struct fs_parameter_spec *desce[me[K)
      |                                            e[01;35me[K~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~e[me[K
e[01me[K/build/source/module/evdi_fb.c:543:39:e[me[K e[01;31me[Kerror: e[me[K'e[01me[Kstruct drm_fb_helpere[me[K' has no member named 'e[01me[Kfbdeve[me[K'; did you mean 'e[01me[Kdeve[me[K'?
  543 |                 info = efbdev->helper.e[01;31me[Kfbdeve[me[K;
      |                                       e[01;31me[K^~~~~e[me[K
      |                                       e[32me[Kdeve[me[K
In file included from e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-buf.h:21e[me[K,
                 from e[01me[K/build/source/module/evdi_gem.c:27e[me[K:
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-mapping.h:e[me[K In function 'e[01me[Kdebug_dma_mapping_errore[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-mapping.h:83:59:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kdeve[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   83 | static inline void debug_dma_mapping_error(e[01;35me[Kstruct device *deve[me[K,
      |                                            e[01;35me[K~~~~~~~~~~~~~~~^~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-mapping.h:84:28:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kdma_addre[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   84 |                 e[01;35me[Kdma_addr_t dma_addre[me[K)
      |                 e[01;35me[K~~~~~~~~~~~^~~~~~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-mapping.h:e[me[K In function 'e[01me[Kdebug_dma_map_singlee[me[K':
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-mapping.h:87:56:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kdeve[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   87 | static inline void debug_dma_map_single(e[01;35me[Kstruct device *deve[me[K, const void *addr,
      |                                         e[01;35me[K~~~~~~~~~~~~~~~^~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-mapping.h:87:73:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Kaddre[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   87 | static inline void debug_dma_map_single(struct device *dev, e[01;35me[Kconst void *addre[me[K,
      |                                                             e[01;35me[K~~~~~~~~~~~~^~~~e[me[K
e[01me[K/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/include/linux/dma-mapping.h:88:31:e[me[K e[01;35me[Kwarning: e[me[Kunused parameter 'e[01me[Klene[me[K' [e[01;35me[Ke]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parametera-Wunused-parametere]8;;ae[me[K]
   88 |                 e[01;35me[Kunsigned long lene[me[K)
      |                 e[01;35me[K~~~~~~~~~~~~~~^~~e[me[K
make[3]: *** [/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/scripts/Makefile.build:252: /build/source/module/evdi_fb.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/source/Makefile:2021: /build/source/module] Error 2
make[2]: Leaving directory '/nix/store/cdg9x69qfhii2c057hcdqg59wd3qs0ch-linux-6.2.7-dev/lib/modules/6.2.7/build'
make[1]: *** [Makefile:86: module] Error 2
make[1]: Leaving directory '/build/source/module'
make: *** [Makefile:8: all] Error 2

Thank you in advance!

1 Like