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)
Sun, Mar 29, 7:37 AM
Unknown Object (File)
Wed, Mar 25, 10:13 PM
Unknown Object (File)
Sat, Mar 14, 11:47 AM
Unknown Object (File)
Mar 2 2026, 11:25 AM
Unknown Object (File)
Mar 2 2026, 2:46 AM
Unknown Object (File)
Feb 8 2026, 8:03 AM
Unknown Object (File)
Feb 8 2026, 6:15 AM
Unknown Object (File)
Feb 3 2026, 6:41 PM
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.