Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tp_smapi for openSUSE:Factory 
checked in at 2025-06-11 16:27:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tp_smapi (Old)
 and      /work/SRC/openSUSE:Factory/.tp_smapi.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tp_smapi"

Wed Jun 11 16:27:28 2025 rev:5 rq:1284791 version:0.43

Changes:
--------
--- /work/SRC/openSUSE:Factory/tp_smapi/tp_smapi.changes        2024-02-27 
22:48:22.118566714 +0100
+++ /work/SRC/openSUSE:Factory/.tp_smapi.new.19631/tp_smapi.changes     
2025-06-11 16:29:26.699779380 +0200
@@ -1,0 +2,5 @@
+Wed Jun 11 10:35:43 UTC 2025 - Axel Braun <axel.br...@gmx.de>
+
+- del_timer.patch added to fix deprecated call
+
+-------------------------------------------------------------------

New:
----
  del_timer.patch

BETA DEBUG BEGIN:
  New:
- del_timer.patch added to fix deprecated call
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tp_smapi.spec ++++++
--- /var/tmp/diff_new_pack.LJ53Qu/_old  2025-06-11 16:29:27.395808415 +0200
+++ /var/tmp/diff_new_pack.LJ53Qu/_new  2025-06-11 16:29:27.395808415 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tp_smapi
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 URL:            https://github.com/linux-thinkpad/tp_smapi
 Source:         tp_smapi-%{version}.tar.gz
 Patch0:         kernel_64.diff
+Patch1:         del_timer.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  %kernel_module_package_buildreqs
 BuildRequires:  kernel-source

++++++ del_timer.patch ++++++
diff -rU 3 a/tp_smapi/hdaps.c b/tp_smapi/hdaps.c
--- a/tp_smapi/hdaps.c  2018-02-24 16:59:51.000000000 +0100
+++ b/tp_smapi/hdaps.c  2025-06-11 12:26:58.509555650 +0200
@@ -427,7 +427,7 @@
 static int hdaps_suspend(struct platform_device *dev, pm_message_t state)
 {
        /* Don't do hdaps polls until resume re-initializes the sensor. */
-       del_timer_sync(&hdaps_timer);
+       timer_delete_sync(&hdaps_timer);
        hdaps_device_shutdown(); /* ignore errors, effect is negligible */
        return 0;
 }
@@ -671,7 +671,7 @@
 {
        mutex_lock(&hdaps_users_mtx);
        if (--hdaps_users == 0) /* no input users left */
-               del_timer_sync(&hdaps_timer);
+               timer_delete_sync(&hdaps_timer);
        mutex_unlock(&hdaps_users_mtx);
 
        module_put(THIS_MODULE);

Reply via email to