Page MenuHomeFreeBSD

cam: When inq data isn't valid, pass NULL
ClosedPublic

Authored by imp on Jan 3 2026, 10:53 AM.
Tags
None
Referenced Files
F163429762: D54470.id169296.diff
Thu, Jul 23, 3:34 AM
F163399232: D54470.id169296.diff
Wed, Jul 22, 8:58 PM
Unknown Object (File)
Sat, Jul 18, 9:38 PM
Unknown Object (File)
Sat, Jul 18, 12:41 PM
Unknown Object (File)
Fri, Jul 17, 8:01 AM
Unknown Object (File)
Wed, Jul 15, 7:00 AM
Unknown Object (File)
Wed, Jul 15, 7:00 AM
Unknown Object (File)
Thu, Jul 9, 8:28 PM
Subscribers
None

Details

Summary

When the device isn't there, we don't have valid inq data. Pass NULL in
this case. All the routines that receive this test against NULL already.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Jan 3 2026, 10:53 AM
share/man/man4/Makefile
1012 ↗(On Diff #168954)

Doesn't this belong in the previous commit?

accepting; save the manpage include, please shuffle that :p

This revision is now accepted and ready to land.Jan 3 2026, 5:48 PM
share/man/man4/Makefile
1012 ↗(On Diff #168954)

Indeed it does.

This revision was automatically updated to reflect the committed changes.