File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,14 @@ static inline __u8 nvme_cmd_specific_status_to_errno(__u16 status)
8383 case NVME_SC_CTRL_LIST_INVALID :
8484 case NVME_SC_BAD_ATTRIBUTES :
8585 case NVME_SC_INVALID_PI :
86+ case NVME_SC_INVALID_CTRL_ID :
87+ case NVME_SC_INVALID_SEC_CTRL_STATE :
88+ case NVME_SC_INVALID_CTRL_RESOURCES :
89+ case NVME_SC_INVALID_RESOURCE_ID :
90+ case NVME_SC_ANA_GROUP_ID_INVALID :
91+ case NVME_SC_INSUFFICIENT_CAP :
92+ case NVME_SC_INVALID_IOCS :
93+ case NVME_SC_ID_UNAVAILABLE :
8694 return EINVAL ;
8795 case NVME_SC_ABORT_LIMIT :
8896 case NVME_SC_ASYNC_LIMIT :
@@ -117,6 +125,7 @@ static inline __u8 nvme_fabrics_status_to_errno(__u16 status)
117125 switch (status ) {
118126 case NVME_SC_CONNECT_FORMAT :
119127 case NVME_SC_CONNECT_INVALID_PARAM :
128+ case NVME_SC_DISCONNECT_INVALID_QTYPE :
120129 return EINVAL ;
121130 case NVME_SC_CONNECT_CTRL_BUSY :
122131 return EBUSY ;
You can’t perform that action at this time.
0 commit comments