Commit 245eb0b6 authored by Sean Anderson's avatar Sean Anderson Committed by Greg Kroah-Hartman
Browse files

dma-mapping: trace more error paths



[ Upstream commit 68b6dbf1 ]

It can be surprising to the user if DMA functions are only traced on
success. On failure, it can be unclear what the source of the problem
is. Fix this by tracing all functions even when they fail. Cases where
we BUG/WARN are skipped, since those should be sufficiently noisy
already.

Signed-off-by: default avatarSean Anderson <sean.anderson@linux.dev>
Reviewed-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Stable-dep-of: 7e2368a2 ("dma-debug: don't enforce dma mapping check on noncoherent allocations")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f776ae61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment