OSDN Git Service

udmabuf: use EBADFD in case we didn't got a memfd
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2018 13:42:12 +0000 (15:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Sep 2018 06:21:31 +0000 (08:21 +0200)
commit7a1c67d78094236e8ba0c5f6f83a8baf33a53860
treedf1a5915f10e8a51d9ce893b1f5b97947b81417c
parent0d17455ca85ecbc757bf7a2fefed6ca9cfae5054
udmabuf: use EBADFD in case we didn't got a memfd

Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-10-kraxel@redhat.com
drivers/dma-buf/udmabuf.c