]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme: fixup ANA group descriptor offset
authorHannes Reinecke <hare@suse.de>
Mon, 5 Nov 2018 15:00:36 +0000 (16:00 +0100)
committerKeith Busch <keith.busch@intel.com>
Thu, 8 Nov 2018 16:27:17 +0000 (09:27 -0700)
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>
Reviewed-by: Steve Schremmer <steve.schremmer@netapp.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
linux/nvme.h

index 37d3bc1ace6a7b976aed66bc3c31c9652a57b45a..1ad970a4c89a8d3bb6438cec4ab28aff5b07d5b6 100644 (file)
@@ -546,7 +546,7 @@ struct nvme_ana_group_desc {
        __le32  nnsids;
        __le64  chgcnt;
        __u8    state;
-       __u8    rsvd17[7];
+       __u8    rsvd17[15];
        __le32  nsids[];
 };