linux-stable/drivers/dma-buf
Dan Carpenter 6f19eb21a2 udmabuf: fix error code in map_udmabuf()
We accidentally forgot to set "ret" on this error path so it means we
return NULL instead of an error pointer.  The caller checks for NULL and
changes it to an error pointer so it doesn't cause an issue at run time.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180914065615.GA12043@mwanda
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-09-14 11:44:59 +02:00
..
dma-buf.c dma-buf: Remove requirement for ops->map() from dma_buf_export 2018-08-10 07:57:46 +02:00
dma-fence-array.c dma-fence: Make ->wait callback optional 2018-07-03 13:12:57 +02:00
dma-fence.c dma-fence: Polish kernel-doc for dma-fence.c 2018-07-04 12:18:37 +02:00
Kconfig udmabuf: add MEMFD_CREATE dependency 2018-09-12 08:21:30 +02:00
Makefile Add udmabuf misc device 2018-09-03 13:29:38 +02:00
reservation.c dma-buf: Move BUG_ON from _add_shared_fence to _add_shared_inplace 2018-07-16 20:20:37 +05:30
seqno-fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sw_sync.c dma-fence: Make ->wait callback optional 2018-07-03 13:12:57 +02:00
sync_debug.c Linux 4.13-rc2 2017-07-27 08:15:43 +10:00
sync_debug.h dma-buf: Remove unneeded stubs around sync_debug interfaces 2018-05-07 15:58:07 +02:00
sync_file.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
sync_trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
udmabuf.c udmabuf: fix error code in map_udmabuf() 2018-09-14 11:44:59 +02:00