diff options
Diffstat (limited to 'drivers/scsi/bfa/bfa_svc.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_svc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_svc.c b/drivers/scsi/bfa/bfa_svc.c index 37e16ac8f249..04b3349ad3a1 100644 --- a/drivers/scsi/bfa/bfa_svc.c +++ b/drivers/scsi/bfa/bfa_svc.c | |||
@@ -3127,7 +3127,7 @@ bfa_fcport_qos_stats_swap(struct bfa_qos_stats_s *d, | |||
3127 | struct bfa_qos_stats_s *s) | 3127 | struct bfa_qos_stats_s *s) |
3128 | { | 3128 | { |
3129 | u32 *dip = (u32 *) d; | 3129 | u32 *dip = (u32 *) d; |
3130 | u32 *sip = (u32 *) s; | 3130 | __be32 *sip = (__be32 *) s; |
3131 | int i; | 3131 | int i; |
3132 | 3132 | ||
3133 | /* Now swap the 32 bit fields */ | 3133 | /* Now swap the 32 bit fields */ |
@@ -3140,7 +3140,7 @@ bfa_fcport_fcoe_stats_swap(struct bfa_fcoe_stats_s *d, | |||
3140 | struct bfa_fcoe_stats_s *s) | 3140 | struct bfa_fcoe_stats_s *s) |
3141 | { | 3141 | { |
3142 | u32 *dip = (u32 *) d; | 3142 | u32 *dip = (u32 *) d; |
3143 | u32 *sip = (u32 *) s; | 3143 | __be32 *sip = (__be32 *) s; |
3144 | int i; | 3144 | int i; |
3145 | 3145 | ||
3146 | for (i = 0; i < ((sizeof(struct bfa_fcoe_stats_s))/sizeof(u32)); | 3146 | for (i = 0; i < ((sizeof(struct bfa_fcoe_stats_s))/sizeof(u32)); |