projects
/
GitHub
/
LineageOS
/
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:
15d4626
)
IB/mlx5: Remove debug prints after allocation failure
author
Leon Romanovsky
<leon@kernel.org>
Thu, 3 Nov 2016 14:44:13 +0000
(16:44 +0200)
committer
Doug Ledford
<dledford@redhat.com>
Sat, 3 Dec 2016 18:12:52 +0000
(13:12 -0500)
The prints after [k|v][m|z|c]alloc() functions are not needed,
because in case of failure, allocator will print their internal
error prints anyway.
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/srq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/hw/mlx5/srq.c
b/drivers/infiniband/hw/mlx5/srq.c
index 3857dbd9c95604d8169e3078a82c22d0f2ca4c95..c676133750b7cdfc3e830d79411221c47f2d236d 100644
(file)
--- a/
drivers/infiniband/hw/mlx5/srq.c
+++ b/
drivers/infiniband/hw/mlx5/srq.c
@@
-203,8
+203,6
@@
static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq,
srq->wrid = kmalloc(srq->msrq.max * sizeof(u64), GFP_KERNEL);
if (!srq->wrid) {
- mlx5_ib_dbg(dev, "kmalloc failed %lu\n",
- (unsigned long)(srq->msrq.max * sizeof(u64)));
err = -ENOMEM;
goto err_in;
}