Skip to content

Loading builds...

Changes

#65 (Jun 30, 2026, 10:08:23 AM)

compatibility with kernel >= 7.2 which removed strncpy

In commit 079a028d6327e68cfa5d38b36123637b321c19a7 the kernel removed
strncpy.  Let's use strscpy instead.

Change-Id: I11a16ffed90223cbeae456a26834c0342146eb88
Oliver Smith at

#64 (Jun 30, 2026, 10:07:47 AM)

Revert "Adjust to strncpy removal in linux 7.2-rc1"

There is another repository at
https://github.com/asterisk/dahdi-linux that appears to be compatible to
linux >= 2.6 and we want to in theory merge everything from our repo
into that at some point. strscpy isn't available in such early linux
versions yet, so revert commit b1bc81f8077c5cb52eae7fbd4021bf180159aed7
and add a different fix for building with 7.2-rc1 as next patch.

Related: https://gerrit.osmocom.org/c/dahdi-linux/+/42906/comments/c06cfbe4_fbd94c6e
Change-Id: I71ad66d33b4a19e4cf9b431bcc3d3cd02cad5e2f
Oliver Smith at

#63 (Jun 29, 2026, 1:39:01 PM)

Adjust to strncpy removal in linux 7.2-rc1

Related: https://docs.kernel.org/process/deprecated.html#strncpy
Related: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1a3746ccbb0a97bed3c06ccde6b880013b1dddc1
Change-Id: I860344fd23d5780fc588d19388ad91c6f6bcfc90
Oliver Smith at

#62 (Jun 29, 2026, 1:18:24 PM)

drivers/dahdi/dahdi-base: fix linux 7.1 compat

Adjust to the "code" argument of ppp_input_error() not existing anymore
since abb0eb0b ("ppp: simplify input error handling").

Related: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=abb0eb0b033a0a8980eb9215e02626e4801ead3f
Change-Id: Ia17190e4bd8bcc480cbe98b55f930149e554a576
Oliver Smith at

#61 (Jun 29, 2026, 8:23:55 AM)

compatibility with kernel >= 7.2 which removed strncpy

In commit 079a028d6327e68cfa5d38b36123637b321c19a7 the kernel removed
strncpy.  Let's use strscpy instead.

Change-Id: I11a16ffed90223cbeae456a26834c0342146eb88
laforge at

#60 (Jun 26, 2026, 4:00:13 PM)

dahdi-base: Adjust ppp_input_error() signature to kernel 7.1

In kernel 7.1 since commit abb0eb0b033a0a8980eb9215e02626e4801ead3f
the signature of ppp_input_error() has changed; let's adjust to that.

Change-Id: If0cdfeca7272702ba53a61d7a3c871d417efa1bf
laforge at

#59 (Jun 26, 2026, 4:00:10 PM)

fix compatibiity with kernel 6.15 + 6.16 regarding timer symbol renaming

Change-Id: I63d777b948994944337798ee6af9fc656c53bc11
laforge at

#58 (Jun 26, 2026, 3:59:00 PM)

Fix missing include of linux/string.h

dahdi-base.c: In function 'dahdi_ioctl_get_version':
dahdi-base.c:5452:17: error: implicit declaration of function 'strncpy' [-Werror=implicit-function-declaration]
5452 |                 strncpy(vi.echo_canceller, ec_name, space);
      |                 ^~~~~~~
dahdi-base.c:96:1: note: include '<string.h>' or provide a declaration of 'strncpy'
   95 | #include "arith.h"
  +++ |+#include <string.h>

Change-Id: Id1341c146b82f0d64370a23ec07432d7055bf13e
laforge at