HomeFreeBSD

ctl: Add CTL_IO_ASSERT wrapper macro

Description

ctl: Add CTL_IO_ASSERT wrapper macro

Currently, this pattern is commonly used to assert that a union ctl_io
is a SCSI request. In the future it will be used to assert other
types.

Suggested by: imp
Reviewed by: imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D44844

Details

Provenance
jhbAuthored on May 2 2024, 11:30 PM
Reviewer
imp
Differential Revision
D44844: ctl: Add CTL_IO_ASSERT wrapper macro
Parents
rG352cf4a64adf: ctl: Avoid an upcast for calling ctl_scsi_path_string
Branches
Unknown
Tags
Unknown