diff options
author | Maggie <xmzhang@brocade.com> | 2010-11-30 03:26:32 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 19:24:17 +0100 |
commit | 50444a340028119ce5ba45d60b4cf44e3e6e1b32 (patch) | |
tree | a1030723aaa84cc07f37f8c3d76766f8a9f1f19a /drivers/scsi/bfa/bfi.h | |
parent | [SCSI] bfa: fix regular sparse check warnings. (diff) | |
download | linux-50444a340028119ce5ba45d60b4cf44e3e6e1b32.tar.xz linux-50444a340028119ce5ba45d60b4cf44e3e6e1b32.zip |
[SCSI] bfa: fix endianess sparse check warnings
First round of fix for the endianess check warnings from make C=2 CF="-D__CHECK_ENDIAN__".
Signed-off-by: Maggie <xmzhang@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfi.h')
-rw-r--r-- | drivers/scsi/bfa/bfi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfi.h b/drivers/scsi/bfa/bfi.h index 58796d1284b7..27b33c765ddc 100644 --- a/drivers/scsi/bfa/bfi.h +++ b/drivers/scsi/bfa/bfi.h @@ -95,8 +95,8 @@ enum { */ union bfi_addr_u { struct { - u32 addr_lo; - u32 addr_hi; + __be32 addr_lo; + __be32 addr_hi; } a32; }; |