aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/ns.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/ns.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/ns.c')
-rw-r--r--drivers/scsi/bfa/ns.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/ns.c b/drivers/scsi/bfa/ns.c
index 59fea99d67a4..2f8b880060bb 100644
--- a/drivers/scsi/bfa/ns.c
+++ b/drivers/scsi/bfa/ns.c
@@ -932,11 +932,10 @@ bfa_fcs_port_ns_send_rff_id(void *ns_cbarg, struct bfa_fcxp_s *fcxp_alloced)
932 } 932 }
933 ns->fcxp = fcxp; 933 ns->fcxp = fcxp;
934 934
935 if (BFA_FCS_VPORT_IS_INITIATOR_MODE(ns->port)) { 935 if (BFA_FCS_VPORT_IS_INITIATOR_MODE(ns->port))
936 fc4_ftrs = FC_GS_FCP_FC4_FEATURE_INITIATOR; 936 fc4_ftrs = FC_GS_FCP_FC4_FEATURE_INITIATOR;
937 } else if (BFA_FCS_VPORT_IS_TARGET_MODE(ns->port)) { 937 else if (BFA_FCS_VPORT_IS_TARGET_MODE(ns->port))
938 fc4_ftrs = FC_GS_FCP_FC4_FEATURE_TARGET; 938 fc4_ftrs = FC_GS_FCP_FC4_FEATURE_TARGET;
939 }
940 939
941 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp), 940 len = fc_rffid_build(&fchs, bfa_fcxp_get_reqbuf(fcxp),
942 bfa_fcs_port_get_fcid(port), 0, FC_TYPE_FCP, 941 bfa_fcs_port_get_fcid(port), 0, FC_TYPE_FCP,