[asterisk-bugs] [JIRA] (DAHLIN-391) linux/pci-aspm.h should not be #include'd if kernel is >= 5.4

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Wed Jun 23 13:57:33 CDT 2021


    [ https://issues.asterisk.org/jira/browse/DAHLIN-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255449#comment-255449 ] 

Shaun Ruffell commented on DAHLIN-391:
--------------------------------------

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



> linux/pci-aspm.h should not be #include'd if kernel is >= 5.4
> -------------------------------------------------------------
>
>                 Key: DAHLIN-391
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-391
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 3.1.0
>         Environment: Any Linux distro with a kernel >= 5.4 -- Ubuntu 20.04 will do.
>            Reporter: Juan Carlos Castro y Castro
>            Assignee: Keith Morgan
>            Severity: Major
>              Labels: patch
>         Attachments: dahdi-git-fixes.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list