tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 15a2bc4dbb9cfed1c661a657fcb10798150b7598 commit: 8fb12ce2ec9d569e1b3051f01cee13ff27e29466 media: usbvision: deprecate driver date: 3 months ago config: powerpc64-randconfig-r023-20200604 (attached as .config) compiler: powerpc64le-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 8fb12ce2ec9d569e1b3051f01cee13ff27e29466 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>, old ones prefixed by <<): powerpc64le-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash' powerpc64le-linux-ld: warning: orphan section `__timer_of_table' from `drivers/clocksource/timer-microchip-pit64b.o' being placed in section `__timer_of_table' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_write_reg_irq': >> drivers/staging/media/usbvision/usbvision-core.c:1432: undefined reference to `usb_submit_urb' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_isoc_irq': drivers/staging/media/usbvision/usbvision-core.c:1323: undefined reference to `usb_submit_urb' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_read_reg': >> drivers/staging/media/usbvision/usbvision-core.c:1353: undefined reference to `usb_control_msg' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_write_reg': drivers/staging/media/usbvision/usbvision-core.c:1383: undefined reference to `usb_control_msg' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_set_output': drivers/staging/media/usbvision/usbvision-core.c:1695: undefined reference to `usb_control_msg' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_set_input': drivers/staging/media/usbvision/usbvision-core.c:2005: undefined reference to `usb_control_msg' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_set_video_format': drivers/staging/media/usbvision/usbvision-core.c:1633: undefined reference to `usb_control_msg' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o:drivers/staging/media/usbvision/usbvision-core.c:2080: more undefined references to `usb_control_msg' follow powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_set_alternate': >> drivers/staging/media/usbvision/usbvision-core.c:2233: undefined reference to `usb_set_interface' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_init_isoc': >> drivers/staging/media/usbvision/usbvision-core.c:2286: undefined reference to `usb_alloc_urb' >> powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.c:2291: undefined reference to `usb_alloc_coherent' >> powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.c:2318: undefined reference to `usb_submit_urb' >> powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.c:2318: undefined reference to `usb_submit_urb' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.o: in function `usbvision_stop_isoc': >> drivers/staging/media/usbvision/usbvision-core.c:2351: undefined reference to `usb_kill_urb' >> powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.c:2353: undefined reference to `usb_free_coherent' >> powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.c:2358: undefined reference to `usb_free_urb' >> powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-core.c:2368: undefined reference to `usb_set_interface' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_release': >> drivers/staging/media/usbvision/usbvision-video.c:1360: undefined reference to `usb_free_urb' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_disconnect': >> drivers/staging/media/usbvision/usbvision-video.c:1578: undefined reference to `usb_put_dev' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_radio_close': >> drivers/staging/media/usbvision/usbvision-video.c:1118: undefined reference to `usb_set_interface' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_probe': >> drivers/staging/media/usbvision/usbvision-video.c:1414: undefined reference to `usb_get_dev' >> powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.c:1543: undefined reference to `usb_put_dev' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_alloc': >> drivers/staging/media/usbvision/usbvision-video.c:1329: undefined reference to `usb_alloc_urb' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_exit': >> drivers/staging/media/usbvision/usbvision-video.c:1638: undefined reference to `usb_deregister' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-video.o: in function `usbvision_init': >> drivers/staging/media/usbvision/usbvision-video.c:1625: undefined reference to `usb_register_driver' powerpc64le-linux-ld: drivers/staging/media/usbvision/usbvision-i2c.o: in function `usbvision_i2c_write_max4': >> drivers/staging/media/usbvision/usbvision-i2c.c:348: undefined reference to `usb_control_msg' vim +1432 drivers/staging/media/usbvision/usbvision-core.c 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1337 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1338 /* 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1339 * usbvision_read_reg() 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1340 * 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1341 * return < 0 -> Error 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1342 * >= 0 -> Data 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1343 */ 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1344 483dfdb64fd4a9 drivers/media/video/usbvision/usbvision-core.c Thierry MERLE 2006-12-04 1345 int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1346 { 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1347 int err_code = 0; 8926e8453476ef drivers/media/usb/usbvision/usbvision-core.c Hans Verkuil 2015-07-20 1348 unsigned char *buffer = usbvision->ctrl_urb_buffer; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1349 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1350 if (!USBVISION_IS_OPERATIONAL(usbvision)) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1351 return -1; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1352 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 @1353 err_code = usb_control_msg(usbvision->dev, usb_rcvctrlpipe(usbvision->dev, 1), 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1354 USBVISION_OP_CODE, 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1355 USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT, 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1356 0, (__u16) reg, buffer, 1, HZ); 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1357 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1358 if (err_code < 0) { be9ed5117d95cd drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2009-01-08 1359 dev_err(&usbvision->dev->dev, 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1360 "%s: failed: error %d\n", __func__, err_code); 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1361 return err_code; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1362 } 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1363 return buffer[0]; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1364 } 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1365 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1366 /* 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1367 * usbvision_write_reg() 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1368 * 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1369 * return 1 -> Reg written 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1370 * 0 -> usbvision is not yet ready 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1371 * -1 -> Something went wrong 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1372 */ 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1373 483dfdb64fd4a9 drivers/media/video/usbvision/usbvision-core.c Thierry MERLE 2006-12-04 1374 int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg, 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1375 unsigned char value) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1376 { 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1377 int err_code = 0; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1378 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1379 if (!USBVISION_IS_OPERATIONAL(usbvision)) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1380 return 0; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1381 8926e8453476ef drivers/media/usb/usbvision/usbvision-core.c Hans Verkuil 2015-07-20 1382 usbvision->ctrl_urb_buffer[0] = value; 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1383 err_code = usb_control_msg(usbvision->dev, usb_sndctrlpipe(usbvision->dev, 1), 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1384 USBVISION_OP_CODE, 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1385 USB_DIR_OUT | USB_TYPE_VENDOR | 8926e8453476ef drivers/media/usb/usbvision/usbvision-core.c Hans Verkuil 2015-07-20 1386 USB_RECIP_ENDPOINT, 0, (__u16) reg, 8926e8453476ef drivers/media/usb/usbvision/usbvision-core.c Hans Verkuil 2015-07-20 1387 usbvision->ctrl_urb_buffer, 1, HZ); 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1388 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1389 if (err_code < 0) { be9ed5117d95cd drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2009-01-08 1390 dev_err(&usbvision->dev->dev, 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1391 "%s: failed: error %d\n", __func__, err_code); 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1392 } 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1393 return err_code; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1394 } 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1395 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1396 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1397 static void usbvision_ctrl_urb_complete(struct urb *urb) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1398 { 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1399 struct usb_usbvision *usbvision = (struct usb_usbvision *)urb->context; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1400 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1401 PDEBUG(DBG_IRQ, ""); 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1402 usbvision->ctrl_urb_busy = 0; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1403 } 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1404 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1405 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1406 static int usbvision_write_reg_irq(struct usb_usbvision *usbvision, int address, 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1407 unsigned char *data, int len) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1408 { 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1409 int err_code = 0; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1410 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1411 PDEBUG(DBG_IRQ, ""); 6d6a48e51fd3bc drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-29 1412 if (len > 8) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1413 return -EFAULT; 6d6a48e51fd3bc drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-29 1414 if (usbvision->ctrl_urb_busy) 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1415 return -EBUSY; 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1416 usbvision->ctrl_urb_busy = 1; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1417 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1418 usbvision->ctrl_urb_setup.bRequestType = USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT; 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1419 usbvision->ctrl_urb_setup.bRequest = USBVISION_OP_CODE; 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1420 usbvision->ctrl_urb_setup.wValue = 0; 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1421 usbvision->ctrl_urb_setup.wIndex = cpu_to_le16(address); 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1422 usbvision->ctrl_urb_setup.wLength = cpu_to_le16(len); 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1423 usb_fill_control_urb(usbvision->ctrl_urb, usbvision->dev, 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1424 usb_sndctrlpipe(usbvision->dev, 1), 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1425 (unsigned char *)&usbvision->ctrl_urb_setup, 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1426 (void *)usbvision->ctrl_urb_buffer, len, 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1427 usbvision_ctrl_urb_complete, 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1428 (void *)usbvision); 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1429 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1430 memcpy(usbvision->ctrl_urb_buffer, data, len); 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1431 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 @1432 err_code = usb_submit_urb(usbvision->ctrl_urb, GFP_ATOMIC); 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1433 if (err_code < 0) { 52cb0bf275debe drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1434 /* error in usb_submit_urb() */ 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1435 usbvision->ctrl_urb_busy = 0; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1436 } 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1437 PDEBUG(DBG_IRQ, "submit %d byte: error %d", len, err_code); 5490a7cbe65d63 drivers/media/video/usbvision/usbvision-core.c Hans Verkuil 2010-12-19 1438 return err_code; 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1439 } 781aa1d1ab7ba1 drivers/media/video/usbvision/usbvision-core.c Mauro Carvalho Chehab 2006-12-04 1440 :::::: The code at line 1432 was first introduced by commit :::::: 5490a7cbe65d63c6ec45f1013287af1e390c95d7 [media] usbvision: get rid of camelCase :::::: TO: Hans Verkuil <hverkuil@xxxxxxxxx> :::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip