lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 16 Jan 2017 17:45:35 +0100
From:   Paolo Bonzini <pbonzini@...hat.com>
To:     Fam Zheng <famz@...hat.com>, linux-kernel@...r.kernel.org
Cc:     linux-scsi@...r.kernel.org,
        "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
        "Michael S. Tsirkin" <mst@...hat.com>,
        Jason Wang <jasowang@...hat.com>,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        stefanha@...hat.com, virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH 2/2] virtio_scsi: Implement fc_host



On 16/01/2017 17:04, Fam Zheng wrote:
> +		node_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, primary_wwnn));
> +		port_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, primary_wwpn));
> +	} else {
> +		node_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, secondary_wwnn));
> +		port_name = virtio_cread64(vdev,
> +			offsetof(struct virtio_scsi_config, secondary_wwpn));

Is the endianness correct for big-endian host here?

Thanks,

Paolo

Powered by blists - more mailing lists