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:
parent
dc776a2d9c
commit
829b0f1a7c
|
@ -146,7 +146,6 @@ struct nvme_lba_format {
|
|||
u16 ms;
|
||||
u8 lbads;
|
||||
u8 rp;
|
||||
u8 res;
|
||||
};
|
||||
|
||||
struct nvme_identify_ns {
|
||||
|
|
Loading…
Reference in New Issue