File 0030-nvme-fixup-ANA-group-descriptor-offset.patch of Package nvme-cli.12152

From: Hannes Reinecke <hare@suse.de>
Date: Mon, 5 Nov 2018 15:58:14 +0100
Subject: [PATCH] nvme: fixup ANA group descriptor offset

References: bsc#1111384
Git-commit: fbd2017eec422cf08c75afef046519af91678a73

The ANA group descriptor offset changed between the specification
sent for ratification and the final ratified document, causing the
ANA log page not to be displayed correctly.

Signed-off-by: Hannes Reinecke <hare@suse.com>
---
 linux/nvme.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux/nvme.h b/linux/nvme.h
index b7a3c31..7e0440d 100644
--- a/linux/nvme.h
+++ b/linux/nvme.h
@@ -450,7 +450,7 @@ struct nvme_ana_group_desc {
 	__le32  nnsids;
 	__le64  chgcnt;
 	__u8    state;
-	__u8    rsvd17[7];
+	__u8    rsvd17[15];
 	__le32  nsids[];
 };
 
-- 
2.12.3
openSUSE Build Service is sponsored by