tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next head: a4d6a2989dc3f2f2bcd25ca53dd187a1de68ffac commit: 6e3c8beb4f92a18a65e521cc5fe75874b6e2c860 [54/62] usb: usb251xb: Lock i2c-bus segment the hub resides config: x86_64-randconfig-s5-04260238 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: git checkout 6e3c8beb4f92a18a65e521cc5fe75874b6e2c860 # 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/usb/misc/usb251xb.c: In function 'usb251x_check_gpio_chip': >> drivers/usb/misc/usb251xb.c:248:50: error: dereferencing pointer to incomplete type 'struct gpio_chip' ret = usb251xb_check_dev_children(&adap->dev, gc->parent); ^~ vim +248 drivers/usb/misc/usb251xb.c 235 236 static int usb251x_check_gpio_chip(struct usb251xb *hub) 237 { 238 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); 239 struct i2c_adapter *adap = hub->i2c->adapter; 240 int ret; 241 242 if (!hub->gpio_reset) 243 return 0; 244 245 if (!gc) 246 return -EINVAL; 247 > 248 ret = usb251xb_check_dev_children(&adap->dev, gc->parent); 249 if (ret) { 250 dev_err(hub->dev, "Reset GPIO chip is at the same i2c-bus\n"); 251 return -EINVAL; 252 } 253 254 return 0; 255 } 256 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip