summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2016-12-29 18:37:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-06 18:59:45 -0700
commit7e150f79134e7eabb5315975ae34bf3169beff4c (patch)
tree1b60067005990d32940e3fd5318299d10bc9fb40 /include/linux
parenta8820678afe1289cd35431ff847d817cdeffcadf (diff)
net/mlx4: Remove BUG_ON from ICM allocation routine
[ Upstream commit c1d5f8ff80ea84768f5fae1ca9d1abfbb5e6bbaa ] 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: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions