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)
Sat, May 11, 10:18 PM
Unknown Object (File)
Sat, May 11, 6:30 PM
Unknown Object (File)
Sat, May 11, 8:44 AM
Unknown Object (File)
Thu, May 9, 1:11 AM
Unknown Object (File)
Thu, May 9, 1:01 AM
Unknown Object (File)
Thu, May 9, 12:59 AM
Unknown Object (File)
Wed, May 8, 3:39 PM
Unknown Object (File)
Thu, May 2, 12:22 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.