]> git.baikalelectronics.ru Git - kernel.git/commit
udmabuf: actually unmap the scatterlist
authorLucas Stach <l.stach@pengutronix.de>
Tue, 4 Jun 2019 20:23:31 +0000 (22:23 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Jun 2019 08:41:17 +0000 (10:41 +0200)
commitac653779e346d275651ccbd940614b6d25f9f885
tree8e4d1f68acea5d2dc87c09ec573e3b987d73b03f
parentd1a9f35e38cd585018b33897aa935f1e17ba02b4
udmabuf: actually unmap the scatterlist

unmap_udmabuf fails to actually unmap the scatterlist, leaving dangling
mappings around.

Fixes: 3ab4f832b0ba ("Add udmabuf misc device")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20190604202331.17482-1-l.stach@pengutronix.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/dma-buf/udmabuf.c