Page MenuHomeFreeBSD

cam_periph: fix bug in camperiphunitnext logic
ClosedPublic

Authored by imp on Oct 27 2021, 5:46 AM.
Tags
None
Referenced Files
F168208962: D32682.diff
Wed, Aug 26, 10:01 PM
F168181831: D32682.id.diff
Wed, Aug 26, 6:18 PM
Unknown Object (File)
Mon, Aug 24, 11:43 PM
Unknown Object (File)
Mon, Aug 24, 11:23 PM
Unknown Object (File)
Mon, Aug 24, 10:20 PM
Unknown Object (File)
Mon, Aug 24, 2:31 PM
Unknown Object (File)
Fri, Aug 14, 1:10 PM
Unknown Object (File)
Wed, Aug 12, 10:32 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
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.