Page MenuHomeFreeBSD

cam: Create free_scan_info helper function
ClosedPublic

Authored by imp on Jul 5 2025, 6:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 27, 4:54 PM
Unknown Object (File)
Thu, Jun 25, 12:58 PM
Unknown Object (File)
May 29 2026, 2:10 PM
Unknown Object (File)
May 18 2026, 5:25 PM
Unknown Object (File)
May 17 2026, 7:33 AM
Unknown Object (File)
May 17 2026, 5:07 AM
Unknown Object (File)
May 16 2026, 11:10 AM
Unknown Object (File)
May 8 2026, 5:05 AM
Subscribers
None

Details

Summary

We free the scsi bug scan info in 4 places. 1 was wrong until I fixed a
bug there in a recent commit. Introduce a helper function that will free
the cpi always (it must always be valid since we set it right after
allocation).

Sponsored by: Netflix

Diff Detail

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