[Bug 286512] linuxkpi: amdgpu regressed after base 325aa4dbd10d

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 May 2025 16:12:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286512

--- Comment #9 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Evgenii Khramtsov from comment #8)
Yes, there is some subtle incompatibility here.

If you compile the kernel+drm-kmod with the patch below, is the problem still
there?

diff --git a/sys/compat/linuxkpi/common/include/linux/workqueue.h
b/sys/compat/linuxkpi/common/include/linux/workqueue.h
index 25ee861d3015..66d3981d4229 100644
--- a/sys/compat/linuxkpi/common/include/linux/workqueue.h
+++ b/sys/compat/linuxkpi/common/include/linux/workqueue.h
@@ -90,7 +90,7 @@ struct delayed_work {
        struct {
                struct callout callout;
                struct mtx mtx;
-               long    expires;
+               unsigned long expires;
        } timer;
 };

-- 
You are receiving this mail because:
You are on the CC list for the bug.