Hi!

On Fri, Jun 16, 2023 at 04:13:51PM +0200, Andreas Beckmann wrote:
> DKMS make.log for tp_smapi-0.43 for kernel 6.4.0-0-amd64 (x86_64)
> Fri Jun 16 14:10:47 UTC 2023
> make: Entering directory '/usr/src/linux-headers-6.4.0-0-amd64'
>   CC [M]  /var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.o
>   CC [M]  /var/lib/dkms/tp_smapi/0.43/build/tp_smapi.o
>   CC [M]  /var/lib/dkms/tp_smapi/0.43/build/hdaps.o
> /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);
>       |                                          ^

Thanks for the report!

I don't have a machine to test this right now, but I think the following
patch should fix the issue:
https://github.com/linux-thinkpad/tp_smapi/pull/45

Evgeni

Reply via email to