From 2c34e68f426151bc6d16de6a187678f6693c0770 Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Tue, 11 Mar 2014 14:41:47 +0200 Subject: [PATCH] IB/mad: Check and handle potential DMA mapping errors Running with DMA_API_DEBUG enabled and not checking for DMA mapping errors triggers a kernel stack trace with "DMA-API: device driver failed to check map error" message. Add these checks to the MAD module, both to be be more robust and also eliminate these false-positive stack traces. Signed-off-by: Yan Burman Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-format-patch failed