projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a909d3e
)
IB/mlx5: Skip handling unknown events
author
Saeed Mahameed
<saeedm@mellanox.com>
Thu, 29 Sep 2016 16:35:38 +0000
(19:35 +0300)
committer
Leon Romanovsky
<leon@kernel.org>
Sun, 30 Oct 2016 13:41:46 +0000
(15:41 +0200)
Do not dispatch unknown mlx5 core events on mlx5_ib_event.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mlx5/main.c
b/drivers/infiniband/hw/mlx5/main.c
index 22174774dbb8c392709936b0eb225d3e6768d2c4..d02341eebddb3aaf2e7e82c579f89fe36c41e784 100644
(file)
--- a/
drivers/infiniband/hw/mlx5/main.c
+++ b/
drivers/infiniband/hw/mlx5/main.c
@@
-2358,6
+2358,8
@@
static void mlx5_ib_event(struct mlx5_core_dev *dev, void *context,
ibev.event = IB_EVENT_CLIENT_REREGISTER;
port = (u8)param;
break;
+ default:
+ return;
}
ibev.device = &ibdev->ib_dev;