Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

nvme_status_to_errno - Converts nvme return status to errno

Arguments

status Return status from an nvme passthrough command fabrics Set to true if status is to a fabrics target.

Name

nvme_status_to_errno - Converts nvme return status to errno

Return

An errno representing the nvme status if it is an nvme status field, or unchanged status is < 0 since errno is already set. May 2025 nvme_status_to_errno nvme_status_to_errno(2)

Synopsis

__u8nvme_status_to_errno(intstatus,boolfabrics);

See Also