commit | 218fba0004390b0101e681f6db1b8920c1109e54 | [log] [tgz] |
---|---|---|
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | Wed Aug 31 15:18:35 2005 -0700 |
committer | James Bottomley <jejb@mulgrave.(none)> | Sat Sep 10 11:10:43 2005 -0500 |
tree | 571c6477b4fff4808ab0faace6a5aef7517ca81a | |
parent | 37be6eeb4990c05fc7dd683ceaf1501d46ebe9a4 [diff] |
[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 <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>