Page MenuHomeFreeBSD

LinuxKPI: Fix dmi_matches() function
ClosedPublic

Authored by hselasky on Jun 5 2022, 11:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 8:38 AM
Unknown Object (File)
Fri, Oct 10, 2:28 AM
Unknown Object (File)
Fri, Oct 10, 2:28 AM
Unknown Object (File)
Fri, Oct 10, 2:28 AM
Unknown Object (File)
Thu, Oct 9, 9:46 PM
Unknown Object (File)
Thu, Oct 2, 5:18 PM
Unknown Object (File)
Sat, Sep 20, 8:40 PM
Unknown Object (File)
Sep 14 2025, 10:21 AM
Subscribers

Details

Summary

Make sure we check for NULL pointers and also check all search criterias, not only the first one!

MFC after: 1 week
Sponsored by: NVIDIA Networking

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thanks.
TBH we didn't tested with drm-kmod as I was sure that we used the version in linuxkpi_gplv2 but I was wrong and didn't correctly read the code.
Please bump FreeBSD_version so I can fix drm-kmod after to use fully this one.

This revision is now accepted and ready to land.Jun 6 2022, 7:58 AM
This revision was automatically updated to reflect the committed changes.