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 <fl@n621.de>
Reviewed-by: Alexander Graf <graf@amazon.com>
This commit is contained in:
Florian Larysch 2022-01-23 17:43:57 +01:00 committed by Kevin O'Connor
parent dc776a2d9c
commit 829b0f1a7c
1 changed files with 0 additions and 1 deletions

View File

@ -146,7 +146,6 @@ struct nvme_lba_format {
u16 ms;
u8 lbads;
u8 rp;
u8 res;
};
struct nvme_identify_ns {