From: Hannes Reinecke Date: Mon, 5 Nov 2018 15:00:36 +0000 (+0100) Subject: nvme: fixup ANA group descriptor offset X-Git-Tag: v1.7~30 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fbd2017eec422cf08c75afef046519af91678a73;p=users%2Fsagi%2Fnvme-cli.git nvme: fixup ANA group descriptor offset 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 Reviewed-by: Steve Schremmer Signed-off-by: Keith Busch --- diff --git a/linux/nvme.h b/linux/nvme.h index 37d3bc1a..1ad970a4 100644 --- a/linux/nvme.h +++ b/linux/nvme.h @@ -546,7 +546,7 @@ struct nvme_ana_group_desc { __le32 nnsids; __le64 chgcnt; __u8 state; - __u8 rsvd17[7]; + __u8 rsvd17[15]; __le32 nsids[]; };