projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
947b2a8
)
IB/mlx4: Incorrect semicolon after if statement
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Wed, 15 Aug 2007 22:02:07 +0000
(
01:02
+0300)
committer
Roland Dreier
<rolandd@cisco.com>
Thu, 16 Aug 2007 03:24:06 +0000
(20:24 -0700)
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>
drivers/infiniband/hw/mlx4/mad.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mlx4/mad.c
b/drivers/infiniband/hw/mlx4/mad.c
index 333091787c5f57548a14bc3cc3d06770c81d5cd1..0ed02b7834dab398e09b141f67a0a50f2ef46766 100644
(file)
--- 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);