Page MenuHomeFreeBSD

stand/kshim: Replace devclass_equal with calls to strcmp
ClosedPublic

Authored by jhb on Jan 10 2025, 3:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 10, 4:10 AM
Unknown Object (File)
Tue, Feb 24, 11:00 AM
Unknown Object (File)
Thu, Feb 19, 12:40 PM
Unknown Object (File)
Thu, Feb 19, 7:31 AM
Unknown Object (File)
Feb 7 2026, 9:39 PM
Unknown Object (File)
Dec 21 2025, 3:05 AM
Unknown Object (File)
Dec 19 2025, 8:05 AM
Unknown Object (File)
Nov 27 2025, 4:48 AM
Subscribers

Diff Detail

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

Event Timeline

jhb requested review of this revision.Jan 10 2025, 3:22 AM

We lose the tiny a == b optimization but I can't imagine that matters.

This revision is now accepted and ready to land.Jan 10 2025, 3:45 AM
imp added inline comments.
stand/kshim/bsd_kernel.c
888

So hps was a smart fellow. Why did he do it this odd, tortued way?

stand/kshim/bsd_kernel.c
888

Maybe the a == b check? I'm not sure. It is also odd how many places it was used in places that had nothing to do with devclasses.