[media] lirc: might sleep error in lirc_dev_fop_read
authorSean Young <sean@mess.org>
Mon, 31 Oct 2016 17:52:25 +0000 (15:52 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 21 Nov 2016 15:19:08 +0000 (13:19 -0200)
commit12accdcb92ca997ffc3bf1e76887fb991d5ac773
tree36050be1636e7c19bc38a1b65a9d36d8b6b93a4f
parenta48c4bbdff4f6fe10f9e853b01c8591d734a4e84
[media] lirc: might sleep error in lirc_dev_fop_read

[  101.457944] ------------[ cut here ]------------
[  101.457954] WARNING: CPU: 3 PID: 1819 at kernel/sched/core.c:7708 __might_sleep+0x7e/0x80
[  101.457960] do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffffc0364bc2>] lirc_dev_fop_read+0x292/0x4e0 [lirc_dev]

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c