]> www.infradead.org Git - users/hch/nvme-cli.git/commitdiff
nvme-cli: match treq value names to spec
authorJay Freyensee <james_p_freyensee@linux.intel.com>
Wed, 7 Sep 2016 20:51:13 +0000 (13:51 -0700)
committerJay Freyensee <james_p_freyensee@linux.intel.com>
Mon, 12 Sep 2016 20:34:03 +0000 (13:34 -0700)
spec uses "not specified" as one of the values for treq,
just like other discovery parameters (like rdma_prtype).

Signed-off-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
fabrics.c

index 18e961cedefb6ec21c4e481f6055215313d9015e..e7e3c565dba5e6d00bde00f18ea0021b448401d8 100644 (file)
--- a/fabrics.c
+++ b/fabrics.c
@@ -116,7 +116,7 @@ static inline const char *nqntype_str(__u8 nqntype)
 }
 
 static const char * const treqs[] = {
-       [NVMF_TREQ_NOT_SPECIFIED]       = "unspecified transport requirements",
+       [NVMF_TREQ_NOT_SPECIFIED]       = "not specified",
        [NVMF_TREQ_REQUIRED]            = "required",
        [NVMF_TREQ_NOT_REQUIRED]        = "not required",
 };