summaryrefslogtreecommitdiff
path: root/drivers/scsi/bfa/bfa_fcpim_priv.h
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2009-09-25 23:29:54 +0400
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 21:00:09 +0300
commitf8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e (patch)
tree8c726ba2d6511a2a2be1adbd41af1cf09ecffb1d /drivers/scsi/bfa/bfa_fcpim_priv.h
parent8798a694da59486e4a3ff0abeec183202fb34c20 (diff)
downloadlinux-f8ceafde6f5bf6b4b7087c7f5e9da1b2a5284a2e.tar.xz
[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_fcpim_priv.h')
-rw-r--r--drivers/scsi/bfa/bfa_fcpim_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_fcpim_priv.h b/drivers/scsi/bfa/bfa_fcpim_priv.h
index 153206cfb37a..5cf418460f75 100644
--- a/drivers/scsi/bfa/bfa_fcpim_priv.h
+++ b/drivers/scsi/bfa/bfa_fcpim_priv.h
@@ -35,7 +35,7 @@
#define BFA_FCPIM_PATHTOV_MAX (90 * 1000) /* in millisecs */
#define bfa_fcpim_stats(__fcpim, __stats) \
- (__fcpim)->stats.__stats ++
+ ((__fcpim)->stats.__stats++)
struct bfa_fcpim_mod_s {
struct bfa_s *bfa;
@@ -143,7 +143,7 @@ struct bfa_itnim_s {
struct bfa_itnim_hal_stats_s stats;
};
-#define bfa_itnim_is_online(_itnim) (_itnim)->is_online
+#define bfa_itnim_is_online(_itnim) ((_itnim)->is_online)
#define BFA_FCPIM_MOD(_hal) (&(_hal)->modules.fcpim_mod)
#define BFA_IOIM_FROM_TAG(_fcpim, _iotag) \
(&fcpim->ioim_arr[_iotag])