HomeFreeBSD

cam/xpt: improve comment on xpt_path_inq

Description

cam/xpt: improve comment on xpt_path_inq

Fix a comment about bzero maybe unnecessary. It can sometimes be
redunant, but a common usage pattern puts the ccb_pathinq structure on
the stack since it's small and for that scenario, it's required. It's
reundant for the few places the ccb is allocated, and in those cases it
does no harm.

Sponsored by: Netflix
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D51166

Details

Provenance
impAuthored on Jul 7 2025, 8:04 PM
Reviewer
jhb
Differential Revision
D51166: cam/xpt: improve comment on xpt_path_inq
Parents
rG5ac5ebfa7533: cam/scsi: Use xpt_path_inq() instead of hand-rolled expansion
Branches
Unknown
Tags
Unknown