diff options
author | Michael S. Tsirkin <[email protected]> | 2020-07-10 06:36:16 -0400 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2020-07-29 13:24:30 -0400 |
commit | 295c1b9852d000580786375304a9800bd9634d15 (patch) | |
tree | 157d7f9c6b92fb07fdd00813a1307535b317dab1 /lib/mpi/mpi-add.c | |
parent | fe3c60684377d5ad9b0569b87ed3e26e12c8173b (diff) |
vhost/scsi: fix up req type endian-ness
vhost/scsi doesn't handle type conversion correctly
for request type when using virtio 1.0 and up for BE,
or cross-endian platforms.
Fix it up using vhost_32_to_cpu.
Cc: [email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions