OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2024cd
)
udmabuf: Add missing compact_ioctl
author
Kristian H. Kristensen
<hoegsberg@google.com>
Thu, 3 Sep 2020 18:16:52 +0000
(18:16 +0000)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 7 Sep 2020 04:23:20 +0000
(06:23 +0200)
Make sure we can use this on mixed systems.
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/20200903181652.432067-1-hoegsberg@google.com
Signed-off-by: Gerd Hoffmann <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
acb26c6
..
5ee1e93
100644
(file)
--- a/
drivers/dma-buf/udmabuf.c
+++ b/
drivers/dma-buf/udmabuf.c
@@
-308,6
+308,9
@@
static long udmabuf_ioctl(struct file *filp, unsigned int ioctl,
static const struct file_operations udmabuf_fops = {
.owner = THIS_MODULE,
.unlocked_ioctl = udmabuf_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = udmabuf_ioctl,
+#endif
};
static struct miscdevice udmabuf_misc = {