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, Feb 8, 8:03 AM
Unknown Object (File)
Sun, Feb 8, 6:15 AM
Unknown Object (File)
Tue, Feb 3, 6:41 PM
Unknown Object (File)
Mon, Feb 2, 11:11 AM
Unknown Object (File)
Sat, Jan 31, 5:36 AM
Unknown Object (File)
Sat, Jan 31, 2:45 AM
Unknown Object (File)
Sat, Jan 17, 5:19 AM
Unknown Object (File)
Jan 12 2026, 11:58 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.