Page MenuHomeFreeBSD

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

Authored by imp on Sat, Jan 3, 10:53 AM.
Tags
None
Referenced Files
F141803945: D54470.id168954.diff
Sat, Jan 10, 3:55 PM
F141803215: D54470.id169296.diff
Sat, Jan 10, 3:44 PM
Unknown Object (File)
Thu, Jan 8, 10:47 AM
Unknown Object (File)
Thu, Jan 8, 6:38 AM
Unknown Object (File)
Thu, Jan 8, 4:30 AM
Unknown Object (File)
Tue, Jan 6, 7:18 AM
Unknown Object (File)
Sun, Jan 4, 1:08 PM
Unknown Object (File)
Sat, Jan 3, 7:10 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.Sat, Jan 3, 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.Sat, Jan 3, 5:48 PM
share/man/man4/Makefile
1012 ↗(On Diff #168954)

Indeed it does.

This revision was automatically updated to reflect the committed changes.