[media] lirc_dev: add some __user annotations
authorDan Carpenter <error27@gmail.com>
Wed, 17 Nov 2010 05:13:39 +0000 (02:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:55 +0000 (08:16 -0200)
commit0e835087dfe7db19f1f072046f5e116d4ec6662b
tree98caa6d12580520f2ead3264008eb0f7503be482
parent829ba9fe34246f1f5e813b6bf84171d36e776734
[media] lirc_dev: add some __user annotations

Sparse complains because there are no __user annotations.

drivers/media/rc/lirc_dev.c:156:27: warning:
incorrect type in initializer (incompatible argument 2 (different address spaces))
drivers/media/rc/lirc_dev.c:156:27:    expected int ( *read )( ... )
drivers/media/rc/lirc_dev.c:156:27:    got int ( extern [toplevel] *<noident> )( ... )

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/lirc_dev.c
include/media/lirc_dev.h