[Bug 265612] [PATCH] linuxkpi mod_devicetable.h out of sync with linux

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 04 Aug 2022 05:09:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265612

            Bug ID: 265612
           Summary: [PATCH] linuxkpi mod_devicetable.h out of sync with
                    linux
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: crahman@gmail.com

Created attachment 235663
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235663&action=edit
Update dmi_strmatch structure and DMI_EXACT_MATCH() to current (08/2022) linux
specification.

Using DMI_EXACT_MATCH causes match failures because the structure used by linux
in, e.g. the drm-kmod kernel modules is different than that in the kernel
compat module.

So, for example, dmi_first_match() and related functions never match.

This breaks the quirk table lookups in the drm-kmod.ko modules.

A patch to update the mod_devicetable.h file is attached.  Of course, anything
dependent upon it will need to be rebuilt.

-- 
You are receiving this mail because:
You are the assignee for the bug.