From: Florian Larysch Date: Sun, 23 Jan 2022 16:43:57 +0000 (+0100) Subject: nvme: fix LBA format data structure X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=829b0f1a7cda1bccdf44a379fb3a96e519a7e8cd;p=osstest%2Fseabios.git nvme: fix LBA format data structure The LBA Format Data structure is dword-sized, but struct nvme_lba_format erroneously contains an additional member, misaligning all LBAF descriptors after the first and causing them to be misinterpreted. Remove it. Signed-off-by: Florian Larysch Reviewed-by: Alexander Graf --- diff --git a/src/hw/nvme-int.h b/src/hw/nvme-int.h index f9c807e..1c97263 100644 --- a/src/hw/nvme-int.h +++ b/src/hw/nvme-int.h @@ -146,7 +146,6 @@ struct nvme_lba_format { u16 ms; u8 lbads; u8 rp; - u8 res; }; struct nvme_identify_ns {