[media] staging/media: lirc_imon: add a __user annotation
commit87d466e503ab1e071eac4bd89c46eb3cb53246a1
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 24 Nov 2011 08:06:21 +0000 (24 05:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 26 Nov 2011 10:48:03 +0000 (26 08:48 -0200)
tree627e396ab3661e16144420dd8e219f3552433810
parent75c1ca364d0d5d70ad12c5dac40bbe6598624cab
[media] staging/media: lirc_imon: add a __user annotation

This silences the following Sparse warnings:
lirc_imon.c:404:32: warning: incorrect type in argument 1 (different address spaces)
lirc_imon.c:404:32:    expected void const [noderef] <asn:1>*<noident>
lirc_imon.c:404:32:    got char const *buf
lirc_imon.c:117:28: warning: incorrect type in initializer (incompatible argument 2 (different address spaces))
lirc_imon.c:117:28:    expected long ( *write )( ... )
lirc_imon.c:117:28:    got long ( static [toplevel] *<noident> )( ... )

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/lirc/lirc_imon.c