net: ena: Fix all static chekers' warnings
[sfrench/cifs-2.6.git] / drivers / net / ethernet / amazon / ena / ena_com.c
index 2e2366d406f63113b5b0f1cce18433815e68fe9e..34434c6b6000066ea6fd2c88bc1423d7788201d5 100644 (file)
@@ -513,6 +513,8 @@ static int ena_com_comp_status_to_errno(u8 comp_status)
        case ENA_ADMIN_ILLEGAL_PARAMETER:
        case ENA_ADMIN_UNKNOWN_ERROR:
                return -EINVAL;
+       case ENA_ADMIN_RESOURCE_BUSY:
+               return -EAGAIN;
        }
 
        return -EINVAL;