acpi-call-dkms: proc_create() broken with linux-hwe-5.8
Bug #1899591 reported by
Andrea Righi
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-call (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
acpi-call-dkms declares a struct proc_ops that is not compatible with the new 5.8 kernel, causing a build failure with proc_create().
[Test case]
$ sudo apt install acpi-call-dkms
The install fails reporting a build error in the log.
[Fix]
Fix by adding a proper #ifdef block to support also kernels >= 5.8.
[Regression potential]
The code for the 5.4 kernel remains the same, so there is no regression potential. This change is required to properly support the new linux-hwe-5.8 kernel in focal.
tags: | added: patch |
description: | updated |
Changed in acpi-call (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.
Hi Andrea,
Thanks for spotting the bug and providing a patch. I'm going to prepare a new upload in Debian to include it.
However, I have a question: you say that the incompatibility was introduced in 5.8, but in your patch, the #ifdef block mentions (5, 6, 0) as a condition. Is it a mistake or is it intentional ?
Regards,
--
Raphaël Halimi