Commit 218fba00 authored by Committed by James Bottomley
[SCSI] fc_transport: Generalize WWN to u64 interger conversions.
On some platforms the hard-casting of 8 byte node_name and port_name arrays to an u64 would cause unaligned-access warnings. Generalize the conversions with a transport helper function which performs consistent shifting of WWN bytes. Signed-off-by: Andrew Vasquez <email@example.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Showing with 8 additions and 0 deletions