[asterisk-bugs] [JIRA] (DAHLIN-354) DAHDI-Linux does not compile against kernel version 4.11

Sean Darcy (JIRA) noreply at issues.asterisk.org
Sun Jun 4 14:58:57 CDT 2017


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

Sean Darcy commented on DAHLIN-354:
-----------------------------------

The build with gcc-6.3.1 generates an indentation warning:

 CC [M]  /home/asterisk/rpmbuild/BUILD/dahdi-linux-changes-for-4.11/drivers/dahdi/voicebus/GpakApi.o
/home/asterisk/rpmbuild/BUILD/dahdi-linux-changes-for-4.11/drivers/dahdi/voicebus/GpakApi.c: In function 'gpakReadDSPMemoryMap':
/home/asterisk/rpmbuild/BUILD/dahdi-linux-changes-for-4.11/drivers/dahdi/voicebus/GpakApi.c:1560:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (DspStatus != 0)
     ^~
/home/asterisk/rpmbuild/BUILD/dahdi-linux-changes-for-4.11/drivers/dahdi/voicebus/GpakApi.c:1563:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  for (i = 0; i < MemoryLength_Word16; i++)

It's cosmetic, but maybe a good time to clean it up ?


> DAHDI-Linux does not compile against kernel version 4.11
> --------------------------------------------------------
>
>                 Key: DAHLIN-354
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-354
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>            Reporter: Shaun Ruffell
>            Assignee: Shaun Ruffell
>         Attachments: 0001-signal_pending-is-now-in-linux-sched-signal.h-includ.patch, 0002-atomic_read-refcount_read.patch
>
>
> Reported to the asterisk-dev mailing list by [~seandarcy] here:
> http://lists.digium.com/pipermail/asterisk-dev/2017-June/076354.html
> Changes in the interface in Linux 4.11 breaks the DAHDI build.



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



More information about the asterisk-bugs mailing list