WSL2-Linux-Kernel/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
..
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
dma-buf.c
dma-fence-array.c
dma-fence.c
reservation.c
seqno-fence.c
sw_sync.c
sync_debug.c
sync_debug.h
sync_file.c
sync_trace.h
udmabuf.c udmabuf: fix error code in map_udmabuf() 2018-09-14 11:44:59 +02:00