This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] media: Properly handle user pointers
Author:  Sakari Ailus <[email protected]>
Date:    Mon Feb 22 17:47:03 2016 -0300

Mark pointers containing user pointers as such.

Signed-off-by: Sakari Ailus <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/media-device.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=d37410c27299fab8c7f17041f71ca5c2046d1f6f
diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
index c89dfef0c4c5..6ba6e8f982fc 100644
--- a/drivers/media/media-device.c
+++ b/drivers/media/media-device.c
@@ -252,10 +252,10 @@ static long __media_device_get_topology(struct 
media_device *mdev,
        struct media_interface *intf;
        struct media_pad *pad;
        struct media_link *link;
-       struct media_v2_entity kentity, *uentity;
-       struct media_v2_interface kintf, *uintf;
-       struct media_v2_pad kpad, *upad;
-       struct media_v2_link klink, *ulink;
+       struct media_v2_entity kentity, __user *uentity;
+       struct media_v2_interface kintf, __user *uintf;
+       struct media_v2_pad kpad, __user *upad;
+       struct media_v2_link klink, __user *ulink;
        unsigned int i;
        int ret = 0;
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to