tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git gpio-descriptors-spi head: e0be1da1758837a9ba07726648ac75d9a27fe8ae commit: 30170dbebec2a25e7ae92a521798d4f02967236a [4/8] gpio: pass lookup and descriptor flags to request_own config: x86_64-randconfig-x007-201918 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout 30170dbebec2a25e7ae92a521798d4f02967236a # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/hid/hid-cp2112.c: In function 'cp2112_allocate_irq': >> drivers/hid/hid-cp2112.c:1206:27: error: type of formal parameter 4 is incomplete "HID/I2C:Event", 0, 0); ^ vim +1206 drivers/hid/hid-cp2112.c 1196 1197 static int __maybe_unused cp2112_allocate_irq(struct cp2112_device *dev, 1198 int pin) 1199 { 1200 int ret; 1201 1202 if (dev->desc[pin]) 1203 return -EINVAL; 1204 1205 dev->desc[pin] = gpiochip_request_own_desc(&dev->gc, pin, > 1206 "HID/I2C:Event", 0, 0); 1207 if (IS_ERR(dev->desc[pin])) { 1208 dev_err(dev->gc.parent, "Failed to request GPIO\n"); 1209 return PTR_ERR(dev->desc[pin]); 1210 } 1211 1212 ret = gpiochip_lock_as_irq(&dev->gc, pin); 1213 if (ret) { 1214 dev_err(dev->gc.parent, "Failed to lock GPIO as interrupt\n"); 1215 goto err_desc; 1216 } 1217 1218 ret = gpiod_to_irq(dev->desc[pin]); 1219 if (ret < 0) { 1220 dev_err(dev->gc.parent, "Failed to translate GPIO to IRQ\n"); 1221 goto err_lock; 1222 } 1223 1224 return ret; 1225 1226 err_lock: 1227 gpiochip_unlock_as_irq(&dev->gc, pin); 1228 err_desc: 1229 gpiochip_free_own_desc(dev->desc[pin]); 1230 dev->desc[pin] = NULL; 1231 return ret; 1232 } 1233 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip