]> Pileus Git - ~andy/linux/commitdiff
tcm_vhost: Change vhost_scsi_target->vhost_wwpn to char *
authorNicholas Bellinger <nab@linux-iscsi.org>
Fri, 17 Aug 2012 01:56:34 +0000 (18:56 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 17 Aug 2012 02:03:13 +0000 (19:03 -0700)
This patch changes the vhost_scsi_target->vhost_wwpn[] type used
by VHOST_SCSI_* ioctls to 'char *' as requested by Blue Swirl in
order to match the latest QEMU vhost-scsi RFC-v3 userspace code.

Queuing this up into target-pending/master for a -rc3 PULL.

Reported-by: Blue Swirl <blauwirbel@gmail.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.h

index eff42df14de98514d1f9f9e7b5e818d351583b38..e9d5c020fb39a049d7472d774a64d39f22a93114 100644 (file)
@@ -91,7 +91,7 @@ struct tcm_vhost_tport {
 
 struct vhost_scsi_target {
        int abi_version;
-       unsigned char vhost_wwpn[TRANSPORT_IQN_LEN];
+       char vhost_wwpn[TRANSPORT_IQN_LEN];
        unsigned short vhost_tpgt;
 };