Hi Sean, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on next-20170221] [cannot apply to v4.10] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sean-Young/Teach-lirc-how-to-send-and-receive-scancodes/20170222-073718 base: git://linuxtv.org/media_tree.git master config: i386-randconfig-x015-201708 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 Note: the linux-review/Sean-Young/Teach-lirc-how-to-send-and-receive-scancodes/20170222-073718 HEAD 9a4d3444d507190ad7996731c8c7e4ef80979de4 builds fine. It only hurts bisectibility. All error/warnings (new ones prefixed by >>): drivers/media/rc/ir-lirc-codec.c: In function 'ir_lirc_poll': >> drivers/media/rc/ir-lirc-codec.c:393:7: error: 'drv' undeclared (first use in this function) if (!drv->attached) { ^~~ drivers/media/rc/ir-lirc-codec.c:393:7: note: each undeclared identifier is reported only once for each function it appears in >> drivers/media/rc/ir-lirc-codec.c:395:13: error: 'dev' undeclared (first use in this function) } else if (dev->rec_mode == LIRC_MODE_SCANCODE) { ^~~ In file included from include/media/lirc_dev.h:23:0, from drivers/media/rc/ir-lirc-codec.c:18: >> include/linux/kfifo.h:259:8: error: invalid type argument of '->' (have 'int') __tmpq->kfifo.in == __tmpq->kfifo.out; \ ^ >> drivers/media/rc/ir-lirc-codec.c:396:8: note: in expansion of macro 'kfifo_is_empty' if (!kfifo_is_empty(&dev->kfifo)) ^~~~~~~~~~~~~~ include/linux/kfifo.h:259:28: error: invalid type argument of '->' (have 'int') __tmpq->kfifo.in == __tmpq->kfifo.out; \ ^ >> drivers/media/rc/ir-lirc-codec.c:396:8: note: in expansion of macro 'kfifo_is_empty' if (!kfifo_is_empty(&dev->kfifo)) ^~~~~~~~~~~~~~ >> include/linux/kfifo.h:259:8: error: invalid type argument of '->' (have 'int') __tmpq->kfifo.in == __tmpq->kfifo.out; \ ^ drivers/media/rc/ir-lirc-codec.c:399:8: note: in expansion of macro 'kfifo_is_empty' if (!kfifo_is_empty(&dev->raw->lirc.kfifo)) ^~~~~~~~~~~~~~ include/linux/kfifo.h:259:28: error: invalid type argument of '->' (have 'int') __tmpq->kfifo.in == __tmpq->kfifo.out; \ ^ drivers/media/rc/ir-lirc-codec.c:399:8: note: in expansion of macro 'kfifo_is_empty' if (!kfifo_is_empty(&dev->raw->lirc.kfifo)) ^~~~~~~~~~~~~~ vim +/drv +393 drivers/media/rc/ir-lirc-codec.c 387 { 388 struct lirc_codec *lirc = lirc_get_pdata(filep); 389 unsigned int events = 0; 390 391 poll_wait(filep, &lirc->wait_poll, wait); 392 > 393 if (!drv->attached) { 394 events = POLLERR; > 395 } else if (dev->rec_mode == LIRC_MODE_SCANCODE) { > 396 if (!kfifo_is_empty(&dev->kfifo)) 397 events = POLLIN | POLLRDNORM; 398 } else if (dev->rec_mode == LIRC_MODE_MODE2) { 399 if (!kfifo_is_empty(&dev->raw->lirc.kfifo)) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip