Commit [6a1792]  Maximize  Restore  History

[media] lirc_dev: add some __user annotations

Backport from upstream kernel:

commit 0e835087dfe7db19f1f072046f5e116d4ec6662b
Author: Dan Carpenter <error27@gmail.com>
Date: Wed Nov 17 02:13:39 2010 -0300

[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>

Signed-off-by: Jarod Wilson <jarod@redhat.com>

Jarod Wilson Jarod Wilson 2012-02-07

changed drivers/lirc_dev/lirc_dev.c
changed drivers/lirc_dev/lirc_dev.h
drivers/lirc_dev/lirc_dev.c Diff Switch to side-by-side view
Loading...
drivers/lirc_dev/lirc_dev.h Diff Switch to side-by-side view
Loading...