summaryrefslogtreecommitdiffstats
path: root/include/linux/nvme-fc.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-17 09:54:27 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-05 16:59:16 +0200
commit8e41226324e7c00f2087bfbc9f470d665e92df18 (patch)
treef4d592a88e7c9802749abe238f1bc89541de7d1e /include/linux/nvme-fc.h
parent680895d6efe47332d25e49817d2d6781295c1614 (diff)
downloadblackbird-obmc-linux-8e41226324e7c00f2087bfbc9f470d665e92df18.tar.gz
blackbird-obmc-linux-8e41226324e7c00f2087bfbc9f470d665e92df18.zip
nvme: switch to uuid_t
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/nvme-fc.h')
-rw-r--r--include/linux/nvme-fc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/nvme-fc.h b/include/linux/nvme-fc.h
index e997c4a49a88..bc711a10be05 100644
--- a/include/linux/nvme-fc.h
+++ b/include/linux/nvme-fc.h
@@ -177,7 +177,6 @@ struct fcnvme_lsdesc_rjt {
};
-#define FCNVME_ASSOC_HOSTID_LEN 16
#define FCNVME_ASSOC_HOSTNQN_LEN 256
#define FCNVME_ASSOC_SUBNQN_LEN 256
@@ -191,7 +190,7 @@ struct fcnvme_lsdesc_cr_assoc_cmd {
__be16 cntlid;
__be16 sqsize;
__be32 rsvd52;
- u8 hostid[FCNVME_ASSOC_HOSTID_LEN];
+ uuid_t hostid;
u8 hostnqn[FCNVME_ASSOC_HOSTNQN_LEN];
u8 subnqn[FCNVME_ASSOC_SUBNQN_LEN];
u8 rsvd632[384];
OpenPOWER on IntegriCloud