Page MenuHomeFreeBSD

cam_periph: fix bug in camperiphunitnext logic
ClosedPublic

Authored by imp on Oct 27 2021, 5:46 AM.
Tags
None
Referenced Files
F95912424: D32682.diff
Mon, Sep 23, 12:25 AM
Unknown Object (File)
Fri, Sep 20, 7:59 AM
Unknown Object (File)
Thu, Sep 19, 12:38 AM
Unknown Object (File)
Wed, Sep 18, 2:37 PM
Unknown Object (File)
Wed, Sep 18, 1:46 AM
Unknown Object (File)
Mon, Sep 16, 11:42 PM
Unknown Object (File)
Sun, Sep 15, 4:50 PM
Unknown Object (File)
Sat, Sep 7, 11:55 PM
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.