tp-smapi-dkms FTBS with linux 6.5 in Mantic

Bug #2034249 reported by Andrea Righi
This bug report is a duplicate of:  Bug #2026589: tp-smapi DKMS FTBFS wrt Linux 6.4. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tp-smapi (Ubuntu)
New
Undecided
Unassigned
Mantic
New
Undecided
Unassigned

Bug Description

[Impact]

/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:94:42: error: macro "DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given
   94 | static DEFINE_SEMAPHORE(thinkpad_ec_mutex);
      | ^
In file included from /var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:45:

[Test case]

 $ sudo apt install tp-smapi-dkms

[Fix]

Change tp-smapi-dkms code to support the new linux 6.5 ABI for the DEFINE_SEMAPHORE() macro.

[Regression potential]

We may experience regressions in Thinkpad laptop using the tp-smapi-dkms driver, especially with the new kernel 6.5.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: tp-smapi-dkms 0.43-1ubuntu1
ProcVersionSignature: User Name 6.5.0-4.4-generic 6.5.0
Uname: Linux 6.5.0-4-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20230823
CloudSubPlatform: config-disk (/dev/vdb)
Date: Tue Sep 5 12:02:42 2023
ProcEnviron:
 LANG=C.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: tp-smapi
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andrea Righi (arighi) wrote :
Revision history for this message
Andrea Righi (arighi) wrote :

debdiff in attach allows to build tp-smapi-dkms with linux 6.5.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.