Vendor-reset error: assignment to 'ftrace_func_t'

Cant seem to figure out whats going on here… when ever i attempt to compile vendor-reset kernel module i get this

Would you like to merge these packages? [Yes/No] yes
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-emulation/vendor-reset-0.1.0::gentoo
>>> Failed to emerge app-emulation/vendor-reset-0.1.0, Log file:
>>>  '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.50, 0.82, 1.05
 * Package:    app-emulation/vendor-reset-0.1.0
 * Repository: gentoo
 * Maintainer: [email protected]
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.11.9-gentoo-x86_64
 * Checking for suitable kernel configuration options...
 [ ok ]
>>> Unpacking source...
>>> Unpacking vendor-reset-0.1.0.tar.gz to /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work
>>> Source unpacked in /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work
>>> Preparing source in /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0 ...
make -j16 -l16 DESTDIR=/var/tmp/portage/app-emulation/vendor-reset-0.1.0/image INSTALL_MOD_PATH=/var/tmp/portage/app-emulation/vendor-reset-0.1.0/image 
make -C /lib/modules/5.11.10-gentoo-x86_64/build M=/var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0 modules
make[1]: Entering directory '/usr/src/linux-5.11.10-gentoo'
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/module.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/vendor-reset-dev.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/ioctl.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/ftrace.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/hook.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/common.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/compat.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/firmware.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/navi10.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/polaris10.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/vega10.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/vega20.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/amdgpu/amdgpu_device.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/amdgpu/amdgpu_discovery.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/amdgpu/amdgpu_bios.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/amdgpu/amdgpu_atomfirmware.o
  CC [M]  /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/amd/amdgpu/atom.o
/var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/ftrace.c: In function 'fh_install_hook':
/var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/ftrace.c:67:18: error: assignment to 'ftrace_func_t' {aka 'void (*)(long unsigned int,  long unsigned int,  struct ftrace_ops *, struct ftrace_regs *)'} from incompatible pointer type 'void (*)(long unsigned int,  long unsigned int,  struct ftrace_ops *, struct pt_regs *)' [-Werror=incompatible-pointer-types]
   67 |   hook->ops.func = fh_trace_thunk;
      |                  ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0/src/ftrace.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1808: /var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0] Error 2
make[1]: Leaving directory '/usr/src/linux-5.11.10-gentoo'
make: *** [Makefile:8: build] Error 2
 * ERROR: app-emulation/vendor-reset-0.1.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/vendor-reset-0.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vendor-reset-0.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0'
 * S: '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0'

 * Messages for package app-emulation/vendor-reset-0.1.0:

 * ERROR: app-emulation/vendor-reset-0.1.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/vendor-reset-0.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/vendor-reset-0.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0'
 * S: '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/work/vendor-reset-0.1.0'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (app-emulation/vendor-reset-0.1.0:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/app-emulation/vendor-reset-0.1.0/temp/build.log'
 *