Page MenuHomeFreeBSD

stand/kshim: Replace devclass_equal with calls to strcmp
ClosedPublic

Authored by jhb on Fri, Jan 10, 3:22 AM.
Tags
None
Referenced Files
F108295825: D48412.diff
Thu, Jan 23, 3:26 PM
Unknown Object (File)
Tue, Jan 14, 6:53 PM
Unknown Object (File)
Sun, Jan 12, 6:02 PM
Unknown Object (File)
Sun, Jan 12, 5:52 PM
Unknown Object (File)
Sun, Jan 12, 3:21 PM
Unknown Object (File)
Sat, Jan 11, 2:37 PM
Unknown Object (File)
Sat, Jan 11, 11:38 AM
Unknown Object (File)
Sat, Jan 11, 11:23 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.Fri, Jan 10, 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.Fri, Jan 10, 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.