** Description changed:

-   CC [M]  /var/lib/dkms/ddcci/0.4.1/build/ddcci/ddcci.o
+ [Impact]
+ 
+ ddcci dkms is failing to build with the latest 5.15 kernel on jammy:
+ 
+ CC [M]  /var/lib/dkms/ddcci/0.4.1/build/ddcci/ddcci.o
  /var/lib/dkms/ddcci/0.4.1/build/ddcci/ddcci.c:1295:27: error: initialization 
of ‘void (*)(struct device *)’ from incompatible pointer type ‘int (*)(struct 
device *)’ [-Werror=incompatible-pointer-types]
-  1295 |         .remove         = ddcci_device_remove
-       |                           ^~~~~~~~~~~~~~~~~~~
+  1295 |         .remove         = ddcci_device_remove
+       |                           ^~~~~~~~~~~~~~~~~~~
+ 
+ [Test case]
+ 
+ sudo apt install ddcci-dkms
+ 
+ [Fix]
+ 
+ The signature of struct bus_type.remove changed to a void function, we
+ just need to adjust the handler with kernels >= 5.15.
+ 
+ [Regression potential]
+ 
+ We may have ddcci-dkms regressions with old kernels if the patch is not
+ doing the right thing, but the change is really minimal, so the risk of
+ regressions is very low.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951608

Title:
  ddcci-driver-linux: build error with linux 5.15 on jammy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ddcci-driver-linux/+bug/1951608/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to