summaryrefslogtreecommitdiffstats
path: root/kernel/panic.c
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2015-11-07 01:32:55 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-07 02:50:42 +0100
commit7f8306429c4c75f9e2bf39fcfe990b0af2f7292d (patch)
tree3fcd7b9d5c61e287914b2e576ac662eccc8c701e /kernel/panic.c
parentdma-mapping: tidy up dma_parms default handling (diff)
downloadlinux-7f8306429c4c75f9e2bf39fcfe990b0af2f7292d.tar.xz
linux-7f8306429c4c75f9e2bf39fcfe990b0af2f7292d.zip
dma-debug: check nents in dma_sync_sg*
Like dma_unmap_sg, dma_sync_sg* should be called with the original number of entries passed to dma_map_sg, so do the same check in the sync path as we do in the unmap path. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: Sakari Ailus <sakari.ailus@iki.fi> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions