aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_cb_ioim.h
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2010-10-18 20:10:50 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-10-25 17:17:14 -0400
commitba816ea8e2eacbf3d198ad1859f413c2d6213434 (patch)
tree92399b02434b350fe4c767c0cb4f1790b7fee763 /drivers/scsi/bfa/bfa_cb_ioim.h
parent6a18b1675fdf08a6dc861e39c3f94309a03e7f16 (diff)
[SCSI] bfa: replace endian swap macros with the ones provided by linux
Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_cb_ioim.h')
-rw-r--r--drivers/scsi/bfa/bfa_cb_ioim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_cb_ioim.h b/drivers/scsi/bfa/bfa_cb_ioim.h
index a989a94c38da..78c5ba2a66e8 100644
--- a/drivers/scsi/bfa/bfa_cb_ioim.h
+++ b/drivers/scsi/bfa/bfa_cb_ioim.h
@@ -37,7 +37,7 @@ bfad_int_to_lun(u32 luno)
37 } lun; 37 } lun;
38 38
39 lun.bfa_lun = 0; 39 lun.bfa_lun = 0;
40 lun.scsi_lun[0] = bfa_os_htons(luno); 40 lun.scsi_lun[0] = cpu_to_be16(luno);
41 41
42 return lun.bfa_lun; 42 return lun.bfa_lun;
43} 43}