Control: forwarded https://github.com/linux-thinkpad/tp_smapi/pull/71
Control: tags + patch

Hi Andreas,

On Mon, May 26, 2025 at 12:11:10AM +0200, Andreas Beckmann wrote:
> Building module(s)
> # command: make -j14 KERNELRELEASE=6.15-rc7-amd64 -C 
> /lib/modules/6.15-rc7-amd64/build M=/var/lib/dkms/tp_smapi/0.44/build HDAPS=1
> make: Entering directory '/usr/src/linux-headers-6.15-rc7-amd64'
> make[1]: Entering directory '/var/lib/dkms/tp_smapi/0.44/build'
>   CC [M]  thinkpad_ec.o
>   CC [M]  tp_smapi.o
>   CC [M]  hdaps.o
> hdaps.c: In function 'hdaps_suspend':
> hdaps.c:430:9: error: implicit declaration of function 'del_timer_sync' 
> [-Wimplicit-function-declaration]
>   430 |         del_timer_sync(&hdaps_timer);
>       |         ^~~~~~~~~~~~~~
> make[3]: *** 
> [/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: hdaps.o] 
> Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:2027: .] Error 2
> make[1]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: 
> __sub-make] Error 2
> make[1]: Leaving directory '/var/lib/dkms/tp_smapi/0.44/build'
> make: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: __sub-make] 
> Error 2
> make: Leaving directory '/usr/src/linux-headers-6.15-rc7-amd64'
> 
> # exit code: 2
> # elapsed time: 00:00:03
> ----------------------------------------------------------------
> 
> del_timer_sync() has been renamed to timer_delete_sync() in v6.2-rc1
> "timers: Rename del_timer_sync() to timer_delete_sync()"
> https://github.com/torvalds/linux/commit/9b13df3fb64ee95e2397585404e442afee2c7d4f
> 
> the backwards compatibility support wrappers have been removed in
> v6.15-rc1 "treewide: Switch/rename to timer_delete[_sync]()"
> https://github.com/torvalds/linux/commit/8fa7292fee5c5240402371ea89ab285ec856c916

Thanks for the report and the detailed analysis when things were
changed.

I've opened a PR upstream with the needed changes and will see that it
lands in Debian soon.

Evgeni

Reply via email to