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
Unknown Object (File)
Tue, May 26, 9:18 PM
Unknown Object (File)
May 18 2026, 5:11 PM
Unknown Object (File)
May 18 2026, 1:38 AM
Unknown Object (File)
May 17 2026, 10:00 PM
Unknown Object (File)
May 15 2026, 11:13 AM
Unknown Object (File)
May 12 2026, 3:47 PM
Unknown Object (File)
May 12 2026, 1:57 PM
Unknown Object (File)
May 11 2026, 8:52 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.