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/bfad.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/bfad.c')
-rw-r--r-- | drivers/scsi/bfa/bfad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index 6f2be5abf561..b52b773d49d9 100644 --- a/drivers/scsi/bfa/bfad.c +++ b/drivers/scsi/bfa/bfad.c | |||
@@ -188,8 +188,8 @@ static struct bfad_port_s * | |||
188 | bfad_get_drv_port(struct bfad_s *bfad, struct bfad_vf_s *vf_drv, | 188 | bfad_get_drv_port(struct bfad_s *bfad, struct bfad_vf_s *vf_drv, |
189 | struct bfad_vport_s *vp_drv) | 189 | struct bfad_vport_s *vp_drv) |
190 | { | 190 | { |
191 | return ((vp_drv) ? (&(vp_drv)->drv_port) | 191 | return (vp_drv) ? (&(vp_drv)->drv_port) |
192 | : ((vf_drv) ? (&(vf_drv)->base_port) : (&(bfad)->pport))); | 192 | : ((vf_drv) ? (&(vf_drv)->base_port) : (&(bfad)->pport)); |
193 | } | 193 | } |
194 | 194 | ||
195 | struct bfad_port_s * | 195 | struct bfad_port_s * |
@@ -716,7 +716,7 @@ bfad_drv_init(struct bfad_s *bfad) | |||
716 | if ((bfad->bfad_flags & BFAD_MSIX_ON) | 716 | if ((bfad->bfad_flags & BFAD_MSIX_ON) |
717 | && bfad_install_msix_handler(bfad)) { | 717 | && bfad_install_msix_handler(bfad)) { |
718 | printk(KERN_WARNING "%s: install_msix failed, bfad%d\n", | 718 | printk(KERN_WARNING "%s: install_msix failed, bfad%d\n", |
719 | __FUNCTION__, bfad->inst_no); | 719 | __func__, bfad->inst_no); |
720 | } | 720 | } |
721 | 721 | ||
722 | bfad_init_timer(bfad); | 722 | bfad_init_timer(bfad); |