aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_itnim.c
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2009-09-25 15:29:54 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 13:00:09 -0500
commitf8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e (patch)
tree8c726ba2d6511a2a2be1adbd41af1cf09ecffb1d /drivers/scsi/bfa/bfa_itnim.c
parent8798a694da59486e4a3ff0abeec183202fb34c20 (diff)
[SCSI] bfa: fixed checkpatch errors for bfad files
This patch fixes checkpatch errors/warnings in bfad files. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_itnim.c')
-rw-r--r--drivers/scsi/bfa/bfa_itnim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/bfa_itnim.c b/drivers/scsi/bfa/bfa_itnim.c
index 4d5c61a4f85c..eabf7d38bd09 100644
--- a/drivers/scsi/bfa/bfa_itnim.c
+++ b/drivers/scsi/bfa/bfa_itnim.c
@@ -1029,7 +1029,7 @@ bfa_itnim_create(struct bfa_s *bfa, struct bfa_rport_s *rport, void *ditn)
1029 bfa_stats(itnim, creates); 1029 bfa_stats(itnim, creates);
1030 bfa_sm_send_event(itnim, BFA_ITNIM_SM_CREATE); 1030 bfa_sm_send_event(itnim, BFA_ITNIM_SM_CREATE);
1031 1031
1032 return (itnim); 1032 return itnim;
1033} 1033}
1034 1034
1035void 1035void
@@ -1061,7 +1061,7 @@ bfa_itnim_offline(struct bfa_itnim_s *itnim)
1061bfa_boolean_t 1061bfa_boolean_t
1062bfa_itnim_hold_io(struct bfa_itnim_s *itnim) 1062bfa_itnim_hold_io(struct bfa_itnim_s *itnim)
1063{ 1063{
1064 return ( 1064 return
1065 itnim->fcpim->path_tov && itnim->iotov_active && 1065 itnim->fcpim->path_tov && itnim->iotov_active &&
1066 (bfa_sm_cmp_state(itnim, bfa_itnim_sm_fwcreate) || 1066 (bfa_sm_cmp_state(itnim, bfa_itnim_sm_fwcreate) ||
1067 bfa_sm_cmp_state(itnim, bfa_itnim_sm_sler) || 1067 bfa_sm_cmp_state(itnim, bfa_itnim_sm_sler) ||
@@ -1069,7 +1069,7 @@ bfa_itnim_hold_io(struct bfa_itnim_s *itnim)
1069 bfa_sm_cmp_state(itnim, bfa_itnim_sm_fwdelete) || 1069 bfa_sm_cmp_state(itnim, bfa_itnim_sm_fwdelete) ||
1070 bfa_sm_cmp_state(itnim, bfa_itnim_sm_offline) || 1070 bfa_sm_cmp_state(itnim, bfa_itnim_sm_offline) ||
1071 bfa_sm_cmp_state(itnim, bfa_itnim_sm_iocdisable)) 1071 bfa_sm_cmp_state(itnim, bfa_itnim_sm_iocdisable))
1072); 1072 ;
1073} 1073}
1074 1074
1075void 1075void