diff options
| author | 2016-12-29 18:37:11 +0200 | |
|---|---|---|
| committer | 2016-12-29 14:17:40 -0500 | |
| commit | c1d5f8ff80ea84768f5fae1ca9d1abfbb5e6bbaa (patch) | |
| tree | 3ae821917376b0453fb0687f55b9dc4194cf2e0e /drivers/fpga/fpga-mgr.c | |
| parent | net/mlx4_en: Fix bad WQE issue (diff) | |
| download | wireguard-linux-c1d5f8ff80ea84768f5fae1ca9d1abfbb5e6bbaa.tar.xz wireguard-linux-c1d5f8ff80ea84768f5fae1ca9d1abfbb5e6bbaa.zip | |
net/mlx4: Remove BUG_ON from ICM allocation routine
This patch removes BUG_ON() macro from mlx4_alloc_icm_coherent()
by checking DMA address alignment in advance and performing proper
folding in case of error.
Fixes: 5b0bf5e25efe ("mlx4_core: Support ICM tables in coherent memory")
Reported-by: Ozgur Karatas <okaratas@member.fsf.org>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
