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)
Wed, Jan 7, 7:29 PM
Unknown Object (File)
Tue, Jan 6, 8:40 AM
Unknown Object (File)
Sat, Dec 27, 1:07 AM
Unknown Object (File)
Tue, Dec 23, 9:36 AM
Unknown Object (File)
Tue, Dec 23, 8:49 AM
Unknown Object (File)
Sat, Dec 20, 6:15 PM
Unknown Object (File)
Nov 28 2025, 11:36 PM
Unknown Object (File)
Nov 28 2025, 11:36 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.