On 22/2/24 10:29, 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]> --- hw/nvme/ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Hi Klaus, I'm not seeing other NVMe patches on the list, so I'll queue this on my hw-misc tree, but feel free to object and I'll unqueue :) Thanks, Phil.
