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, Jun 23, 5:42 PM
Unknown Object (File)
Sun, Jun 21, 11:03 PM
Unknown Object (File)
Sun, Jun 21, 6:36 PM
Unknown Object (File)
Sat, Jun 20, 9:02 AM
Unknown Object (File)
Sat, Jun 20, 1:18 AM
Unknown Object (File)
Sat, Jun 20, 1:18 AM
Unknown Object (File)
Fri, May 29, 11:22 AM
Unknown Object (File)
Thu, May 28, 9:29 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61636
Build 58520: arc lint + arc unit

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.