[Home]

Summary:DAHLIN-00391: linux/pci-aspm.h should not be #include'd if kernel is >= 5.4
Reporter:Juan Carlos Castro y Castro (jccyc)Labels:patch
Date Opened:2021-06-22 19:43:04Date Closed:2021-07-03 16:43:36
Priority:MajorRegression?
Status:Closed/CompleteComponents:General
Versions:3.1.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Any Linux distro with a kernel >= 5.4 -- Ubuntu 20.04 will do.Attachments:( 0) dahdi-git-fixes.patch
Description:In include/dahdi/kernel.h, linux/pci-aspm.h should only be included if the kernel version is < 5.4.0. Will attach (tiny) patch shortly.
Comments:By: Shaun Ruffell (sruffell) 2021-06-23 13:55:57.339-0500

Sorry you had to run into this. A similar fix for this is already pending on the next branch here: https://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=45ac6a30f922f4eef54c0120c2a537794b20cf5c



By: Juan Carlos Castro y Castro (jccyc) 2021-07-03 16:43:36.126-0500

The "next" branch has the fix.