Package: vhba-dkms
Version: 20240202-5
Severity: important
Hi,
vhba-dkms fails to build a module for Linux 6.11 in experimental.
I haven't looked in detail, but this is probably caused by the switch
from gcc-13 to gcc-14 (and not a kernel interface change).
gcc-14 enabled -Werror=incompatible-pointer-types etc. by default.
DKMS make.log for vhba-20240202 for kernel 6.11-rc5-rt-amd64 (x86_64)
Wed Sep 11 08:39:38 UTC 2024
make -C /lib/modules/6.11-rc5-rt-amd64/build
M=/var/lib/dkms/vhba/20240202/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.11-rc5-rt-amd64'
CC [M] /var/lib/dkms/vhba/20240202/build/vhba.o
/var/lib/dkms/vhba/20240202/build/vhba.c:1087:15: error: initialization of
'void (*)(struct platform_device *)' from incompatible pointer type 'int
(*)(struct platform_device *)' [-Wincompatible-pointer-types]
1087 | .remove = vhba_remove,
| ^~~~~~~~~~~
/var/lib/dkms/vhba/20240202/build/vhba.c:1087:15: note: (near initialization
for 'vhba_platform_driver.<anonymous>.remove')
make[3]: ***
[/usr/src/linux-headers-6.11-rc5-common-rt/scripts/Makefile.build:249:
/var/lib/dkms/vhba/20240202/build/vhba.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.11-rc5-common-rt/Makefile:1950:
/var/lib/dkms/vhba/20240202/build] Error 2
make[1]: *** [/usr/src/linux-headers-6.11-rc5-common-rt/Makefile:236:
__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.11-rc5-rt-amd64'
make: *** [Makefile:14: modules] Error 2
Andreas