Comment 11 for bug 2046450

Revision history for this message
Bin Li (binli) wrote :

Hi arighi,

I reviewed the patch you submitted into jammy-devel, and I noticed that the following part is not from the upstream. Do you have any concerns about removing it? Thanks!

diff -urpN tp-smapi-0.43.orig/thinkpad_ec.mod tp-smapi-0.43/thinkpad_ec.mod
--- tp-smapi-0.43.orig/thinkpad_ec.mod 1970-01-01 00:00:00.000000000 +0000
+++ tp-smapi-0.43/thinkpad_ec.mod 2023-12-14 13:25:10.540430306 +0000
@@ -0,0 +1 @@
+/home/ubuntu/tp-smapi-0.43/thinkpad_ec.o

commit 0c3398b1acf2a2cabd9cee91dc3fe3d35805fa8b
Author: Evgeni Golov <email address hidden>
Date: Fri Jun 16 18:13:54 2023 +0200

    update DEFINE_SEMAPHORE usage for linux 6.4+

    Linux changed the DEFINE_SEMAPHORE macro in
    48380368dec14859723b9e3fbd43e042638d9a76, making it take two parameters
    instead of one. Pass an explicit 1 as on 6.4+.