IB/mlx4: Suppress non-fatal memory allocations
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 17 Dec 2015 07:31:52 +0000 (09:31 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Dec 2015 05:17:31 +0000 (00:17 -0500)
commit9afc60dcc406b96d22dfd7e5986d2a9ee44812f0
tree7bf6127ea18d4051c136224c5da1246208f366ad
parentda7525d2a9ae9d9d9af754441befcf2560f6cac3
IB/mlx4: Suppress non-fatal memory allocations

Failure in kmalloc memory allocations will throw a warning about it.
Such warnings are not needed anymore, since in commit 0ef2f05c7e02
("IB/mlx4: Use vmalloc for WR buffers when needed"), fallback mechanism
from kmalloc() to __vmalloc() was added.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/qp.c
drivers/infiniband/hw/mlx4/srq.c