Re: [PATCH] [media] rc: ir-spi: add support for IR LEDs connected with SPI
From: kbuild test robot
Date: Fri Jul 01 2016 - 23:59:31 EST
Hi,
[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.7-rc5 next-20160701]
[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/Andi-Shyti/rc-ir-spi-add-support-for-IR-LEDs-connected-with-SPI/20160702-102955
base: git://linuxtv.org/media_tree.git master
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/media/rc/ir-spi.c: In function 'ir_spi_chardev_ioctl':
>> drivers/media/rc/ir-spi.c:156:7: error: 'LIRC_SET_LENGTH' undeclared (first use in this function)
case LIRC_SET_LENGTH: {
^~~~~~~~~~~~~~~
drivers/media/rc/ir-spi.c:156:7: note: each undeclared identifier is reported only once for each function it appears in
vim +/LIRC_SET_LENGTH +156 drivers/media/rc/ir-spi.c
150 return put_user(idata->lirc_driver.features,
151 (__u32 __user *) arg);
152
153 case LIRC_GET_LENGTH:
154 return put_user(idata->xfer.len, (__u32 __user *) arg);
155
> 156 case LIRC_SET_LENGTH: {
157 void *new;
158
159 ret = get_user(p, (__u32 __user *) arg);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data