diff options
author | Jing Huang <huangj@brocade.com> | 2009-09-25 15:29:54 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:00:09 -0500 |
commit | f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e (patch) | |
tree | 8c726ba2d6511a2a2be1adbd41af1cf09ecffb1d /drivers/scsi/bfa/bfa_fcs_lport.c | |
parent | 8798a694da59486e4a3ff0abeec183202fb34c20 (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_fcs_lport.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_fcs_lport.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs_lport.c b/drivers/scsi/bfa/bfa_fcs_lport.c index 8975ed041dc..c7ab257f10a 100644 --- a/drivers/scsi/bfa/bfa_fcs_lport.c +++ b/drivers/scsi/bfa/bfa_fcs_lport.c | |||
@@ -568,11 +568,10 @@ bfa_fcs_port_offline_actions(struct bfa_fcs_port_s *port) | |||
568 | 568 | ||
569 | __port_action[port->fabric->fab_type].offline(port); | 569 | __port_action[port->fabric->fab_type].offline(port); |
570 | 570 | ||
571 | if (bfa_fcs_fabric_is_online(port->fabric) == BFA_TRUE) { | 571 | if (bfa_fcs_fabric_is_online(port->fabric) == BFA_TRUE) |
572 | bfa_fcs_port_aen_post(port, BFA_LPORT_AEN_DISCONNECT); | 572 | bfa_fcs_port_aen_post(port, BFA_LPORT_AEN_DISCONNECT); |
573 | } else { | 573 | else |
574 | bfa_fcs_port_aen_post(port, BFA_LPORT_AEN_OFFLINE); | 574 | bfa_fcs_port_aen_post(port, BFA_LPORT_AEN_OFFLINE); |
575 | } | ||
576 | bfa_fcb_port_offline(port->fcs->bfad, port->port_cfg.roles, | 575 | bfa_fcb_port_offline(port->fcs->bfad, port->port_cfg.roles, |
577 | port->fabric->vf_drv, | 576 | port->fabric->vf_drv, |
578 | (port->vport == NULL) ? NULL : port->vport->vport_drv); | 577 | (port->vport == NULL) ? NULL : port->vport->vport_drv); |
@@ -777,7 +776,7 @@ bfa_fcs_port_get_rport_by_pwwn(struct bfa_fcs_port_s *port, wwn_t pwwn) | |||
777 | } | 776 | } |
778 | 777 | ||
779 | bfa_trc(port->fcs, pwwn); | 778 | bfa_trc(port->fcs, pwwn); |
780 | return (NULL); | 779 | return NULL; |
781 | } | 780 | } |
782 | 781 | ||
783 | /** | 782 | /** |
@@ -796,7 +795,7 @@ bfa_fcs_port_get_rport_by_nwwn(struct bfa_fcs_port_s *port, wwn_t nwwn) | |||
796 | } | 795 | } |
797 | 796 | ||
798 | bfa_trc(port->fcs, nwwn); | 797 | bfa_trc(port->fcs, nwwn); |
799 | return (NULL); | 798 | return NULL; |
800 | } | 799 | } |
801 | 800 | ||
802 | /** | 801 | /** |
@@ -870,7 +869,7 @@ bfa_fcs_port_lip(struct bfa_fcs_port_s *port) | |||
870 | bfa_boolean_t | 869 | bfa_boolean_t |
871 | bfa_fcs_port_is_online(struct bfa_fcs_port_s *port) | 870 | bfa_fcs_port_is_online(struct bfa_fcs_port_s *port) |
872 | { | 871 | { |
873 | return (bfa_sm_cmp_state(port, bfa_fcs_port_sm_online)); | 872 | return bfa_sm_cmp_state(port, bfa_fcs_port_sm_online); |
874 | } | 873 | } |
875 | 874 | ||
876 | /** | 875 | /** |