* [PATCH] udmabuf: Add missing compact_ioctl
@ 2020-09-04 18:38 Kristian H. Kristensen
0 siblings, 0 replies; 4+ messages in thread
From: Kristian H. Kristensen @ 2020-09-04 18:38 UTC (permalink / raw)
To: dri-devel, Gerd Hoffmann, Dave Airlie; +Cc: Kristian H. Kristensen
From: "Kristian H. Kristensen" <hoegsberg@google.com>
Make sure we can use this on mixed systems.
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
---
drivers/dma-buf/udmabuf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index 9635897458a0..6f4ff6ede050 100644
--- a/drivers/dma-buf/udmabuf.c
+++ b/drivers/dma-buf/udmabuf.c
@@ -270,6 +270,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 = {
--
2.28.0.526.ge36021eeef-goog
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH] udmabuf: Add missing compact_ioctl
@ 2020-09-03 18:16 Kristian H. Kristensen
2020-09-07 5:31 ` Gerd Hoffmann
0 siblings, 1 reply; 4+ messages in thread
From: Kristian H. Kristensen @ 2020-09-03 18:16 UTC (permalink / raw)
To: dri-devel, Gerd Hoffmann; +Cc: Kristian H. Kristensen
Make sure we can use this on mixed systems.
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
---
drivers/dma-buf/udmabuf.c | 3 +++
1 file changed, 3 insertions(+)
Sorry Gerd for all the spam. Once I finally got git send-email
working, I ended up sending a version with all ChromeOS decorations,
of course. Here's a normal upstream version.
Email based workflow - the barrier is real.
Kristian
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index 9635897458a0..6f4ff6ede050 100644
--- a/drivers/dma-buf/udmabuf.c
+++ b/drivers/dma-buf/udmabuf.c
@@ -270,6 +270,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 = {
--
2.28.0.402.g5ffc5be6b7-goog
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH] udmabuf: Add missing compact_ioctl
@ 2020-09-03 7:18 Kristian H. Kristensen
0 siblings, 0 replies; 4+ messages in thread
From: Kristian H. Kristensen @ 2020-09-03 7:18 UTC (permalink / raw)
To: dri-devel, Gerd Hoffmann; +Cc: Kristian H. Kristensen
Make sure we can use this on mixed systems.
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
---
drivers/dma-buf/udmabuf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/dma-buf/udmabuf.c b/drivers/dma-buf/udmabuf.c
index 9635897458a0..6f4ff6ede050 100644
--- a/drivers/dma-buf/udmabuf.c
+++ b/drivers/dma-buf/udmabuf.c
@@ -270,6 +270,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 = {
--
2.28.0.402.g5ffc5be6b7-goog
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-07 5:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-04 18:38 [PATCH] udmabuf: Add missing compact_ioctl Kristian H. Kristensen
-- strict thread matches above, loose matches on Subject: below --
2020-09-03 18:16 Kristian H. Kristensen
2020-09-07 5:31 ` Gerd Hoffmann
2020-09-03 7:18 Kristian H. Kristensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox