2021-11-19 15:43:45 |
Andrea Righi |
bug |
|
|
added bug |
2021-11-19 15:43:53 |
Andrea Righi |
nominated for series |
|
Ubuntu Jammy |
|
2021-11-19 15:43:53 |
Andrea Righi |
bug task added |
|
linux (Ubuntu Jammy) |
|
2021-11-19 15:44:08 |
Andrea Righi |
bug task added |
|
ddcci-driver-linux (Ubuntu) |
|
2021-11-19 15:44:15 |
Andrea Righi |
bug task deleted |
linux (Ubuntu) |
|
|
2021-11-19 15:44:20 |
Andrea Righi |
bug task deleted |
linux (Ubuntu Jammy) |
|
|
2021-11-19 15:50:26 |
Andrea Righi |
attachment added |
|
ddcci-fix-build-error-on-linux-5.15.debdiff https://bugs.launchpad.net/ubuntu/+source/ddcci-driver-linux/+bug/1951608/+attachment/5542127/+files/ddcci-fix-build-error-on-linux-5.15.debdiff |
|
2021-11-19 16:29:11 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2021-11-22 08:31:19 |
Andrea Righi |
summary |
build error with linux 5.15 on jammy |
ddcci-driver-linux: build error with linux 5.15 on jammy |
|
2021-11-23 07:15:21 |
Andrea Righi |
description |
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
| ^~~~~~~~~~~~~~~~~~~ |
[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
| ^~~~~~~~~~~~~~~~~~~
[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. |
|
2021-11-23 17:19:01 |
Dimitri John Ledkov |
ddcci-driver-linux (Ubuntu Jammy): status |
New |
Invalid |
|
2021-11-24 17:47:39 |
Andrea Righi |
ddcci-driver-linux (Ubuntu Jammy): status |
Invalid |
Confirmed |
|
2021-11-24 18:02:03 |
Andrea Righi |
attachment added |
|
ddcci-fix-build-error-on-linux-5.15.debdiff https://bugs.launchpad.net/ubuntu/+source/ddcci-driver-linux/+bug/1951608/+attachment/5543101/+files/ddcci-fix-build-error-on-linux-5.15.debdiff |
|
2021-11-25 15:57:45 |
Dimitri John Ledkov |
ddcci-driver-linux (Ubuntu Jammy): status |
Confirmed |
Fix Committed |
|
2021-11-25 18:29:24 |
Launchpad Janitor |
ddcci-driver-linux (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2022-04-06 13:36:36 |
Andy Whitcroft |
ddcci-driver-linux (Ubuntu Focal): status |
New |
Fix Committed |
|
2022-04-06 13:36:37 |
Andy Whitcroft |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-04-06 13:36:39 |
Andy Whitcroft |
bug |
|
|
added subscriber SRU Verification |
2022-04-27 15:35:32 |
Dimitri John Ledkov |
tags |
patch |
patch verification-done verification-focal-done |
|
2022-04-27 15:35:53 |
Dimitri John Ledkov |
tags |
patch verification-done verification-focal-done |
patch verification-done verification-done-focal |
|
2022-05-03 18:05:45 |
Launchpad Janitor |
ddcci-driver-linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2022-05-03 18:05:49 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|