Hi Steinar, [auto build test WARNING on usb/usb-testing] [also build test WARNING on v4.4-rc3 next-20151203] url: https://github.com/0day-ci/linux/commits/Steinar-H-Gunderson/Add-support-for-usbfs-zerocopy/20151206-034258 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing config: tile-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=tile All warnings (new ones prefixed by >>): drivers/usb/core/devio.c: In function 'proc_do_submiturb': >> drivers/usb/core/devio.c:1617:6: warning: comparison between pointer and integer [enabled by default] vim +1617 drivers/usb/core/devio.c 1601 ret = -EFAULT; 1602 goto error; 1603 } 1604 as = alloc_async(number_of_packets); 1605 if (!as) { 1606 ret = -ENOMEM; 1607 goto error; 1608 } 1609 1610 u += sizeof(struct async) + sizeof(struct urb) + uurb->buffer_length + 1611 num_sgs * sizeof(struct scatterlist); 1612 ret = usbfs_increase_memory_usage(u); 1613 if (ret) 1614 goto error; 1615 as->mem_usage = u; 1616 as->usbm = find_memory_area(ps, uurb); > 1617 if (IS_ERR_VALUE(as->usbm)) { 1618 ret = PTR_ERR(as->usbm); 1619 goto error; 1620 } 1621 1622 if (num_sgs) { 1623 as->urb->sg = kmalloc(num_sgs * sizeof(struct scatterlist), 1624 GFP_KERNEL); 1625 if (!as->urb->sg) { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data