diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2016-12-29 18:37:11 +0200 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-11-06 15:33:19 +0100 |
| commit | 707205ba8d71bc226fa3c5f673efc8e61e3132a3 (patch) | |
| tree | 9e23a3b2b84e01f167b88f1616e8193b1bbf9f05 /net/ipv4 | |
| parent | ea5056a32b0a113d0da97fa34bc5ae4957ba4ef2 (diff) | |
net/mlx4: Remove BUG_ON from ICM allocation routine
commit c1d5f8ff80ea84768f5fae1ca9d1abfbb5e6bbaa upstream.
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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions
