upstream: [media] saa7134: Fix sparse warnings by adding __user annotation
authorEmil Goode <emilgoode@gmail.com>
Sat, 22 Jun 2013 11:02:52 +0000 (08:02 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:48:44 +0000 (11:48 +0900)
commit59ed594133096e395aff277d5d7d2c60d6d2bcd2
treebd9420bb1550356843846160bd18865c34bb6af8
parent64c238a4b30a22ef50dad46bce03015c76b3b46c
upstream: [media] saa7134: Fix sparse warnings by adding __user annotation

Adding a __user annotation fixes the following sparse warnings.
drivers/media/pci/saa7134/saa7134-video.c:1578:45: warning:
        incorrect type in initializer (different address spaces)
        drivers/media/pci/saa7134/saa7134-video.c:1578:45:
        expected struct v4l2_clip *clips
        drivers/media/pci/saa7134/saa7134-video.c:1578:45:
        got struct v4l2_clip [noderef] <asn:1>*clips
drivers/media/pci/saa7134/saa7134-video.c:1589:26: warning:
        incorrect type in assignment (different address spaces)
        drivers/media/pci/saa7134/saa7134-video.c:1589:26:
        expected struct v4l2_clip [noderef] <asn:1>*clips
        drivers/media/pci/saa7134/saa7134-video.c:1589:26:
        got struct v4l2_clip *clips

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/saa7134/saa7134-video.c