Public bug reported: When upgrading to kernel 6.11.0-17-generic, the vhba DKMS module fails to build with the following error:
/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 *)’ [-Werror=incompatible-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’) cc1: all warnings being treated as errors This appears to be due to a mismatch between the expected function signature for the .remove callback in the platform_driver structure and the implementation in the vhba module. Steps to reproduce: 1. Upgrade to kernel 6.11.0-17-generic. 2. Attempt to build the vhba DKMS module. 3. Observe the build failure. Additional information: - Ubuntu version: 24.04 (if applicable) - Kernel version: 6.11.0-17-generic - vhba module version: 20240202 - Full build log: /var/lib/dkms/vhba/20240202/build/make.log ** Affects: compiz (Ubuntu) Importance: Undecided Status: New ** Attachment added: "make.log" https://bugs.launchpad.net/bugs/2098575/+attachment/5857835/+files/make.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2098575 Title: DKMS build failure for vhba module on kernel 6.11.0-17-generic due to incompatible function pointer type To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/2098575/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs