Skip to content

Commit ff6aa21

Browse files
authored
Merge pull request #262 from Arunpandian15/util_01
util: Add status code values in geneic status to errono conversion
2 parents 78220d3 + 3a1eaf4 commit ff6aa21

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/nvme/util.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ static inline __u8 nvme_generic_status_to_errno(__u16 status)
3535
case NVME_SC_SGL_INVALID_METADATA:
3636
case NVME_SC_SGL_INVALID_TYPE:
3737
case NVME_SC_SGL_INVALID_OFFSET:
38+
case NVME_SC_PRP_INVALID_OFFSET:
39+
case NVME_SC_CMB_INVALID_USE:
3840
return EINVAL;
3941
case NVME_SC_CMDID_CONFLICT:
4042
return EADDRINUSE;

0 commit comments

Comments
 (0)