[From nobody Sun Jun 14 12:21:08 2026
Received: (at submit) by bugs.debian.org; 25 May 2025 21:53:29 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-41.6 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_REASSIGN,BODY_INCLUDES_CONTROL_RETITLE,
 BODY_INCLUDES_PACKAGE,FOURLA,FROMDEVELOPER,HAS_PACKAGE,MD5_SHA1_SUM,
 RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,
 SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 83; hammy, 150; neutral, 146; spammy,
 0. spammytokens: hammytokens:0.000-+--H*F:U*anbe,
 0.000-+--H*rp:U*anbe, 
 0.000-+--Hx-spam-relays-external:anbe@debian.org,
 0.000-+--H*RU:anbe@debian.org,
 0.000-+--Hx-spam-relays-external:web4.unixos.de
Return-path: &lt;anbe@debian.org&gt;
Received: from lambdaproxy.unixos.de ([87.106.170.14]:50252)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;anbe@debian.org&gt;) id 1uJJHd-002OpQ-1k
 for submit@bugs.debian.org; Sun, 25 May 2025 21:53:29 +0000
Received: from web4.unixos.de (h2992235.stratoserver.net [85.214.75.2])
 by lambdaproxy.unixos.de (Postfix) with ESMTPS id 9CDC73FFDB;
 Sun, 25 May 2025 23:53:27 +0200 (CEST)
Received: from web4.unixos.de (localhost [127.0.0.1])
 by web4.unixos.de (Postfix) with ESMTPS id 5BFC17E01BD;
 Sun, 25 May 2025 23:53:27 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
Authentication-Results: web4.unixos.de;
 auth=pass smtp.auth=beckmann@unixos.de smtp.mailfrom=anbe@debian.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Andreas Beckmann &lt;anbe@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: osmocom-dahdi-dkms: module fails to build for Linux 6.15: implicit
 declaration of function 'del_timer_sync'
Message-ID: &lt;174821000618.2137383.16444117540001441973.reportbug@caipi&gt;
Date: Sun, 25 May 2025 23:53:26 +0200
X-Rspamd-Action: no action
X-Rspamd-Server: lambda.unixos.de
X-Rspamd-Queue-Id: D3BF07E00AA
X-Spamd-Bar: /
X-Spamd-Result: default: False [0.40 / 10.00]; MID_RHS_NOT_FQDN(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; TO_DN_ALL(0.00)[];
 MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:3320, ipnet:93.192.0.0/10, country:DE];
 RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[];
 FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]
Delivered-To: submit@bugs.debian.org

Package: osmocom-dahdi-dkms
Version: 0.0~git20241003.b2ea348-4
Severity: important
Tags: upstream sid forky
Control: clone -1 -2
Control: reassign -2 dahdi-dkms 1:3.1.0+git20230717~dfsg-10.1
Control: retitle -2 dahdi-dkms: module fails to build for Linux 6.15: implicit declaration of function 'del_timer_sync'

Hi,

osmocom-dahdi-dkms (and probably dahdi-dkms as well) fails to build the
module(s) for Linux 6.15 in experimental:

DKMS (dkms-3.2.0) make.log for osmocom-dahdi/0.0~git20241003.b2ea348 for kernel 6.15-rc7-amd64 (x86_64)
Sat May 24 21:53:28 UTC 2025

Building module(s)
# command: make -j14 KERNELRELEASE=6.15-rc7-amd64 -C /var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build KVERS=6.15-rc7-amd64
make: Entering directory '/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build'
make -C /lib/modules/6.15-rc7-amd64/build KBUILD_EXTMOD=/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/drivers/dahdi DAHDI_INCLUDE=/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/include DAHDI_MODULES_EXTRA=&quot; &quot; HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: Entering directory '/usr/src/linux-headers-6.15-rc7-amd64'
make[2]: Entering directory '/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/drivers/dahdi'
  CC [M]  dahdi-base.o
  CC [M]  dahdi-sysfs.o
  CC [M]  dahdi-sysfs-chan.o
  CC [M]  dahdi-version.o
  CC [M]  dahdi_dynamic.o
  CC [M]  dahdi_dynamic_loc.o
  CC [M]  dahdi_dynamic_eth.o
  CC [M]  dahdi_dynamic_ethmf.o
  CC [M]  dahdi_transcode.o
  CC [M]  wcte13xp-base.o
  CC [M]  wcxb_spi.o
  CC [M]  wcxb.o
  CC [M]  wcxb_flash.o
  CC [M]  wcte43x-base.o
dahdi_dynamic_ethmf.c: In function 'ztdethmf_destroy':
dahdi_dynamic_ethmf.c:538:34: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
  538 |                 if (z &amp;&amp; z-&gt;span &amp;&amp; z-&gt;span-&gt;name) {
      |                                  ^~
In file included from dahdi_dynamic_ethmf.c:56:
/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/include/dahdi/kernel.h:963:14: note: 'name' declared here
  963 |         char name[40];                  /*!&lt; Span name */
      |              ^~~~
dahdi_dynamic_ethmf.c: In function 'ztdethmf_exit':
dahdi_dynamic_ethmf.c:778:9: error: implicit declaration of function 'del_timer_sync'; did you mean 'dev_mc_sync'? [-Wimplicit-function-declaration]
  778 |         del_timer_sync(&amp;timer);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync
make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: dahdi_dynamic_ethmf.o] Error 1
make[4]: *** Waiting for unfinished jobs....
wcte43x-base.c: In function 't43x_init_one':
wcte43x-base.c:3517:13: warning: the comparison will always evaluate as 'true' for the address of 'xb' will never be NULL [-Waddress]
 3517 |         if (&amp;wc-&gt;xb)
      |             ^
wcte43x-base.c:141:21: note: 'xb' declared here
  141 |         struct wcxb xb;
      |                     ^~
dahdi-base.c: In function 'dahdi_seq_show':
dahdi-base.c:955:13: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
  955 |         if (s-&gt;name)
      |             ^
In file included from dahdi-base.c:68:
/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/include/dahdi/kernel.h:963:14: note: 'name' declared here
  963 |         char name[40];                  /*!&lt; Span name */
      |              ^~~~
dahdi-base.c:957:13: warning: the comparison will always evaluate as 'true' for the address of 'desc' will never be NULL [-Waddress]
  957 |         if (s-&gt;desc)
      |             ^
/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/include/dahdi/kernel.h:964:14: note: 'desc' declared here
  964 |         char desc[80];                  /*!&lt; Span description */
      |              ^~~~
dahdi-base.c:996:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
  996 |                 if (chan-&gt;name)
      |                     ^~~~
/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/include/dahdi/kernel.h:442:14: note: 'name' declared here
  442 |         char name[40];
      |              ^~~~
dahdi_dynamic.c: In function 'dahdi_dynamic_cleanup':
dahdi_dynamic.c:924:9: error: implicit declaration of function 'del_timer_sync'; did you mean 'dev_mc_sync'? [-Wimplicit-function-declaration]
  924 |         del_timer_sync(&amp;alarmcheck);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync
dahdi_dynamic.c:927:9: error: implicit declaration of function 'del_timer'; did you mean 'add_timer'? [-Wimplicit-function-declaration]
  927 |         del_timer(&amp;alarmcheck);
      |         ^~~~~~~~~
      |         add_timer
wcte43x-base.c: In function 't43x_remove_one':
wcte43x-base.c:3556:9: error: implicit declaration of function 'del_timer_sync'; did you mean 'dev_mc_sync'? [-Wimplicit-function-declaration]
 3556 |         del_timer_sync(&amp;wc-&gt;timer);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync
make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: dahdi_dynamic.o] Error 1
make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: wcte43x-base.o] Error 1
wcte13xp-base.c: In function 't13x_set_linemode':
wcte13xp-base.c:1853:9: error: implicit declaration of function 'del_timer_sync'; did you mean 'dev_mc_sync'? [-Wimplicit-function-declaration]
 1853 |         del_timer_sync(&amp;wc-&gt;timer);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync
wcte13xp-base.c: In function 'te13xp_init_one':
wcte13xp-base.c:2704:13: warning: the comparison will always evaluate as 'true' for the address of 'xb' will never be NULL [-Waddress]
 2704 |         if (&amp;wc-&gt;xb)
      |             ^
wcte13xp-base.c:111:21: note: 'xb' declared here
  111 |         struct wcxb xb;
      |                     ^~
make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: wcte13xp-base.o] Error 1
dahdi-base.c: In function 'coretimer_cleanup':
dahdi-base.c:10189:9: error: implicit declaration of function 'del_timer_sync'; did you mean 'dev_mc_sync'? [-Wimplicit-function-declaration]
10189 |         del_timer_sync(&amp;core_timer.timer);
      |         ^~~~~~~~~~~~~~
      |         dev_mc_sync
make[4]: *** [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: dahdi-base.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:2027: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build/drivers/dahdi'
make[1]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.15-rc7-amd64'
make: *** [Makefile:74: modules] Error 2
make: Leaving directory '/var/lib/dkms/osmocom-dahdi/0.0~git20241003.b2ea348/build'

# exit code: 2
# elapsed time: 00:00:06
----------------------------------------------------------------


del_timer_sync() has been renamed to timer_delete_sync() in v6.2-rc1
&quot;timers: Rename del_timer_sync() to timer_delete_sync()&quot;
https://github.com/torvalds/linux/commit/9b13df3fb64ee95e2397585404e442afee2c7d4f

the backwards compatibility support wrappers have been removed in
v6.15-rc1 &quot;treewide: Switch/rename to timer_delete[_sync]()&quot;
https://github.com/torvalds/linux/commit/8fa7292fee5c5240402371ea89ab285ec856c916


Andreas
]