summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/include/defs/bfa_defs_lport.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2010-03-05 19:36:47 -0800
committerJames Bottomley <James.Bottomley@suse.de>2010-03-07 13:01:23 +0530
commit2993cc71d1bff61999ade7f2b6b3ea2dd1e2c8d9 (patch)
treed4efc1c68195a0cbf4d30abcc891a78b76439755 /drivers/scsi/bfa/include/defs/bfa_defs_lport.h
parent9693e7dff5c2911b4e445f5f656ef57b3a5bffac (diff)
downloadblackbird-op-linux-2993cc71d1bff61999ade7f2b6b3ea2dd1e2c8d9.tar.gz
blackbird-op-linux-2993cc71d1bff61999ade7f2b6b3ea2dd1e2c8d9.zip
[SCSI] bfa: AEN and byte alignment fixes.
Replace enum types with int and rearrange the fields to fix some alignment issue. Local var ioc_attr is causing the stack to overflow, so removed the usage of the local ioc_attr var and now invoking an API to return the ioc_type. Fix some AEN issues. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/include/defs/bfa_defs_lport.h')
-rw-r--r--drivers/scsi/bfa/include/defs/bfa_defs_lport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/include/defs/bfa_defs_lport.h b/drivers/scsi/bfa/include/defs/bfa_defs_lport.h
index 7359f82aacfc..0952a139c47c 100644
--- a/drivers/scsi/bfa/include/defs/bfa_defs_lport.h
+++ b/drivers/scsi/bfa/include/defs/bfa_defs_lport.h
@@ -59,8 +59,8 @@ enum bfa_lport_aen_event {
*/
struct bfa_lport_aen_data_s {
u16 vf_id; /* vf_id of this logical port */
- u16 rsvd;
- enum bfa_port_role roles; /* Logical port mode,IM/TM/IP etc */
+ s16 roles; /* Logical port mode,IM/TM/IP etc */
+ u32 rsvd;
wwn_t ppwwn; /* WWN of its physical port */
wwn_t lpwwn; /* WWN of this logical port */
};
OpenPOWER on IntegriCloud