HomeFreeBSD

CAM: Use sbuf_new_for_sysctl() in more places

Description

CAM: Use sbuf_new_for_sysctl() in more places

There is no need to allocate buffer, worry about overflows, etc.

MFC after: 2 weeks

(cherry picked from commit 1b44079584dc317230cf810c0fe0a8c401a5c791)

Details

Provenance
mavAuthored on Nov 22 2023, 8:32 PM
Parents
rG3a8271dc1d77: CAM: Remove return value from xpt_path_sbuf()
Branches
Unknown
Tags
Unknown