diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2007-08-15 22:02:07 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-08-16 03:24:06 (GMT) |
commit | fe11cb6ba40afff15efb053fd0bcba45274636e0 (patch) | |
tree | 0de475e13fde7954d2136ad117a13ec4bb9450cd | |
parent | 947b2a8083a03e6fff448ce8928956015614855e (diff) | |
download | linux-fsl-qoriq-fe11cb6ba40afff15efb053fd0bcba45274636e0.tar.xz |
IB/mlx4: Incorrect semicolon after if statement
A stray semicolon makes us inadvertently ignore the value of err.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | drivers/infiniband/hw/mlx4/mad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/mad.c b/drivers/infiniband/hw/mlx4/mad.c index 3330917..0ed02b7 100644 --- a/drivers/infiniband/hw/mlx4/mad.c +++ b/drivers/infiniband/hw/mlx4/mad.c @@ -109,7 +109,7 @@ int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int ignore_mkey, int ignore_bkey, in_modifier, op_modifier, MLX4_CMD_MAD_IFC, MLX4_CMD_TIME_CLASS_C); - if (!err); + if (!err) memcpy(response_mad, outmailbox->buf, 256); mlx4_free_cmd_mailbox(dev->dev, inmailbox); |