Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1559883
| From | Paolo Bonzini <pbonzini@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] virtio_scsi: Implement fc_host |
| Date | 2017-01-16 17:50 +0100 |
| Message-ID | <t0iDM-30L-17@gated-at.bofh.it> (permalink) |
| References | <t0i13-2KF-5@gated-at.bofh.it> <t0i14-2KF-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] virtio-scsi: Implement FC_HOST feature Fam Zheng <famz@redhat.com> - 2017-01-16 17:10 +0100
[PATCH 1/2] virtio_scsi: Add fc_host definitions Fam Zheng <famz@redhat.com> - 2017-01-16 17:10 +0100
[PATCH 2/2] virtio_scsi: Implement fc_host Fam Zheng <famz@redhat.com> - 2017-01-16 17:10 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host Paolo Bonzini <pbonzini@redhat.com> - 2017-01-16 17:50 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host Fam Zheng <famz@redhat.com> - 2017-01-16 18:30 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host Paolo Bonzini <pbonzini@redhat.com> - 2017-01-17 14:20 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host Fam Zheng <famz@redhat.com> - 2017-01-17 15:10 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host "Michael S. Tsirkin" <mst@redhat.com> - 2017-01-17 16:50 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host kbuild test robot <lkp@intel.com> - 2017-01-16 20:10 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host Fam Zheng <famz@redhat.com> - 2017-01-17 04:50 +0100
Re: [PATCH 2/2] virtio_scsi: Implement fc_host kbuild test robot <lkp@intel.com> - 2017-01-16 21:30 +0100
Re: [PATCH 0/2] virtio-scsi: Implement FC_HOST feature Christoph Hellwig <hch@infradead.org> - 2017-01-16 18:40 +0100
Re: [PATCH 0/2] virtio-scsi: Implement FC_HOST feature Fam Zheng <famz@redhat.com> - 2017-01-17 04:40 +0100
Re: [PATCH 0/2] virtio-scsi: Implement FC_HOST feature Hannes Reinecke <hare@suse.de> - 2017-01-16 18:50 +0100
Re: [PATCH 0/2] virtio-scsi: Implement FC_HOST feature Paolo Bonzini <pbonzini@redhat.com> - 2017-01-16 21:20 +0100
csiph-web