projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1c67d
)
udmabuf: use ENOTTY for invalid ioctls
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 11 Sep 2018 13:42:13 +0000
(15:42 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 12 Sep 2018 06:21:32 +0000
(08:21 +0200)
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-11-kraxel@redhat.com
drivers/dma-buf/udmabuf.c
patch
|
blob
|
history
diff --git
a/drivers/dma-buf/udmabuf.c
b/drivers/dma-buf/udmabuf.c
index e0465a9bf3f93949a33c646bb51b8b8c388ca512..5dd73bc511bafac2cea9dde7b8ad011a09a89faf 100644
(file)
--- a/
drivers/dma-buf/udmabuf.c
+++ b/
drivers/dma-buf/udmabuf.c
@@
-260,7
+260,7
@@
static long udmabuf_ioctl(struct file *filp, unsigned int ioctl,
ret = udmabuf_ioctl_create_list(filp, arg);
break;
default:
- ret = -E
INVAL
;
+ ret = -E
NOTTY
;
break;
}
return ret;