Page MenuHomeFreeBSD

camcontrol: stop pretending cam_cmd is a bitmask
ClosedPublic

Authored by trasz on Dec 29 2020, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 12:32 AM
Unknown Object (File)
Feb 23 2025, 9:56 AM
Unknown Object (File)
Feb 21 2025, 2:53 PM
Unknown Object (File)
Feb 21 2025, 12:33 PM
Unknown Object (File)
Feb 20 2025, 5:36 PM
Unknown Object (File)
Feb 20 2025, 5:30 PM
Unknown Object (File)
Feb 17 2025, 12:46 AM
Unknown Object (File)
Feb 5 2025, 4:40 PM
Subscribers

Details

Summary

Cleanup only, no functional changes.

camcontrol(8): remove unnecessary CCB zeroing

After 3e404b8c53d, cam_getccb(3) clears the returned CCB, making
a number of calls to CCB_CLEAR_ALL_EXCEPT_HDR(3) unnecessary.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 35749
Build 32638: arc lint + arc unit