]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Change uuid_be type to __u8
authorKeith Busch <keith.busch@intel.com>
Thu, 29 Sep 2016 14:56:05 +0000 (10:56 -0400)
committerKeith Busch <keith.busch@intel.com>
Thu, 29 Sep 2016 14:56:05 +0000 (10:56 -0400)
From: Christoph Hellwig <hch@infradead.org>

This removes the linux header dependency for compiling.

Signed-off-by: Keith Busch <keith.busch@intel.com>
linux/nvme.h

index c3ed1df4ec9035ad275c3a5e7b271eb51d1f798c..30a4c00408a16873a4962bd965fe031660bebb81 100644 (file)
@@ -16,7 +16,6 @@
 #define _LINUX_NVME_H
 
 #include <linux/types.h>
-#include <linux/uuid.h>
 
 /* NQN names in commands fields specified one size */
 #define NVMF_NQN_FIELD_LEN     256
@@ -803,7 +802,7 @@ struct nvmf_connect_command {
 };
 
 struct nvmf_connect_data {
-       uuid_be         hostid;
+       __u8            hostid[16];
        __le16          cntlid;
        char            resv4[238];
        char            subsysnqn[NVMF_NQN_FIELD_LEN];