diff options
author | 2005-08-31 15:18:35 -0700 | |
---|---|---|
committer | 2005-09-10 11:10:43 -0500 | |
commit | 218fba0004390b0101e681f6db1b8920c1109e54 (patch) | |
tree | 571c6477b4fff4808ab0faace6a5aef7517ca81a /lib/dec_and_lock.c | |
parent | [SCSI] SAS transport class: fixup prototype of sas_host_setup (diff) | |
download | wireguard-linux-218fba0004390b0101e681f6db1b8920c1109e54.tar.xz wireguard-linux-218fba0004390b0101e681f6db1b8920c1109e54.zip |
[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>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions