xmm7360_usb
xmm7360_usb copied to clipboard
Can't build under Debian with 5.8.0.1 kernel
Hi,
The module does not build anymore with the 5.8.0.1 kernel under Debian testing. I have written a dkms file to automatically build it to follow kernel updates. Here's the output of the last build try :
DKMS make.log for xmm7360_usb-1.0 for kernel 5.8.0-1-amd64 (x86_64) Wed 16 Sep 2020 09:08:18 AM CEST make: Entering directory '/usr/src/linux-headers-5.8.0-1-amd64' AR /var/lib/dkms/xmm7360_usb/1.0/build/built-in.a CC [M] /var/lib/dkms/xmm7360_usb/1.0/build/xmm7360_usb.o /var/lib/dkms/xmm7360_usb/1.0/build/xmm7360_usb.c: In function ‘pcie_link_set_enabled’: /var/lib/dkms/xmm7360_usb/1.0/build/xmm7360_usb.c:52:12: error: implicit declaration of function ‘pci_find_pcie_root_port’; did you mean ‘pcie_find_root_port’? [-Werror=implicit-function-declaration] 52 | rdev = pci_find_pcie_root_port(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ | pcie_find_root_port /var/lib/dkms/xmm7360_usb/1.0/build/xmm7360_usb.c:52:10: warning: assignment to ‘struct pci_dev *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 52 | rdev = pci_find_pcie_root_port(dev); | ^ cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.8.0-1-common/scripts/Makefile.build:286: /var/lib/dkms/xmm7360_usb/1.0/build/xmm7360_usb.o] Error 1 make[1]: *** [/usr/src/linux-headers-5.8.0-1-common/Makefile:1768: /var/lib/dkms/xmm7360_usb/1.0/build] Error 2 make: *** [/usr/src/linux-headers-5.8.0-1-common/Makefile:185: __sub-make] Error 2 make: Leaving directory '/usr/src/linux-headers-5.8.0-1-amd64'