backport-iwlwifi-dkms fails to build with kernel 5.15 jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
backport-iwlwifi-dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
backport-
CC [M] /tmp/backport-
In file included from /tmp/backport-
/tmp/backport-
/tmp/backport-
243 | WARN_ON(
| ^~~~~~~~~~~~~~~~~~~
[Test case]
sudo apt install backport-
[Fix]
The driver assumes that kernels > 5.13 provide mei_cldev_
However these functions and the config option are not available at all in recent kernels.
So instead of relying on the specific kernel version simply rely on the availability of CONFIG_
[Regression potential]
We may see build errors in newer kernel if CONFIG_
tags: | added: patch |
no longer affects: | linux (Ubuntu) |
no longer affects: | linux (Ubuntu Jammy) |
https:/ /gitlab. com/vicamo/ backport- iwlwifi- dkms/-/ issues/ 12 <- also filed an issue here