Page MenuHomeFreeBSD

cam_periph: fix bug in camperiphunitnext logic
ClosedPublic

Authored by imp on Oct 27 2021, 5:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 10, 10:34 PM
Unknown Object (File)
Tue, Jun 9, 1:56 PM
Unknown Object (File)
Mon, Jun 8, 10:49 AM
Unknown Object (File)
Tue, May 19, 8:37 AM
Unknown Object (File)
Mon, May 18, 7:07 PM
Unknown Object (File)
May 17 2026, 10:33 PM
Unknown Object (File)
May 17 2026, 10:52 AM
Unknown Object (File)
May 13 2026, 12:22 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.