On 24-02-22 10:29:06, Klaus Jensen wrote:
> From: Klaus Jensen <[email protected]>
> 
> numcntl is one byte and so is max_vfs. Using cpu_to_le16 on big endian
> hosts results in numcntl being set to 0.
> 
> Fix by dropping the endian conversion.
> 
> Fixes: 746d42b13368 ("hw/nvme: Initialize capability structures for 
> primary/secondary controllers")
> Reported-by: Kevin Wolf <[email protected]>
> Signed-off-by: Klaus Jensen <[email protected]>

Reviewed-by: Minwoo Im <[email protected]>

Thanks,

Reply via email to