Page MenuHomeFreeBSD

cam_periph: fix bug in camperiphunitnext logic
ClosedPublic

Authored by imp on Oct 27 2021, 5:46 AM.
Tags
None
Referenced Files
F137311944: D32682.diff
Sat, Nov 22, 8:25 AM
Unknown Object (File)
Fri, Nov 21, 8:18 AM
Unknown Object (File)
Mon, Nov 17, 11:15 AM
Unknown Object (File)
Mon, Nov 17, 7:26 AM
Unknown Object (File)
Sun, Nov 9, 9:08 PM
Unknown Object (File)
Thu, Nov 6, 10:50 PM
Unknown Object (File)
Thu, Nov 6, 6:10 AM
Unknown Object (File)
Wed, Nov 5, 4:08 AM
Subscribers
None

Details

Summary

If we assigned just a lun as a wired unit (something that camperiphunit
will accept), we failed to properly skip over that unit when computing a
next unit number. Add lun so the code matches the comments that we have
to skip all the same criteria that camperiphunit uses to select wired
units for a driver.

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42394
Build 39282: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 5 2021, 3:26 PM
This revision was automatically updated to reflect the committed changes.