From 829b0f1a7cda1bccdf44a379fb3a96e519a7e8cd Mon Sep 17 00:00:00 2001 From: Florian Larysch Date: Sun, 23 Jan 2022 17:43:57 +0100 Subject: 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 --- src/hw/nvme-int.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hw/nvme-int.h b/src/hw/nvme-int.h index f9c807ef..1c972635 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 { -- cgit