search for: vhost_32_to_cpu

Displaying 1 result from an estimated 1 matches for "vhost_32_to_cpu".

Did you mean: vhost32_to_cpu
2020 Jul 10
2
[PATCH] 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: stable at vger.kernel.org Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/vhost/scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 6fb4d7ecfa19..b22adf03f584 100644 --- a/drivers/vhost/scsi.c ++...