On Sun, Jan 23, 2022 at 05:43:57PM +0100, Florian Larysch wrote:
> 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.

Thanks.  I don't know enough about NVMe to review this patch though.
Maybe Julian or Alex could comment?

-Kevin


> 
> Signed-off-by: Florian Larysch <f...@n621.de>
> ---
>  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 a4c1555..5779203 100644
> --- a/src/hw/nvme-int.h
> +++ b/src/hw/nvme-int.h
> @@ -156,7 +156,6 @@ struct nvme_lba_format {
>      u16 ms;
>      u8  lbads;
>      u8  rp;
> -    u8  res;
>  };
>  
>  struct nvme_identify_ns {
> -- 
> 2.34.1
> 
> _______________________________________________
> SeaBIOS mailing list -- seabios@seabios.org
> To unsubscribe send an email to seabios-le...@seabios.org
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to