mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
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:
|
||
|---|---|---|
| .. | ||
| ctrl.c | ||
| dif.c | ||
| dif.h | ||
| Kconfig | ||
| meson.build | ||
| ns.c | ||
| nvme.h | ||
| subsys.c | ||
| trace-events | ||
| trace.h | ||