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
F137421582: D48412.id149117.diff
Sun, Nov 23, 7:36 AM
Unknown Object (File)
Fri, Nov 21, 10:42 AM
Unknown Object (File)
Thu, Nov 20, 1:11 PM
Unknown Object (File)
Thu, Nov 20, 12:54 PM
Unknown Object (File)
Tue, Nov 18, 4:07 PM
Unknown Object (File)
Sun, Nov 16, 9:44 AM
Unknown Object (File)
Wed, Oct 29, 10:12 PM
Unknown Object (File)
Oct 24 2025, 7:45 PM
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.