CC: [email protected] CC: [email protected] TO: Arnd Bergmann <[email protected]> CC: "Greg Kroah-Hartman" <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f37e99aca03f63aa3f2bd13ceaf769455d12c4b0 commit: 792e559e94bc88a281b10568e99fc469fc28a34d udc: lpc32xx: fix 64-bit compiler warning date: 10 months ago :::::: branch date: 20 hours ago :::::: commit date: 10 months ago config: h8300-randconfig-c024-20200724 (attached as .config) compiler: h8300-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Julia Lawall <[email protected]> coccinelle warnings: (new ones prefixed by >>) >> drivers/usb/gadget/udc/lpc32xx_udc.c:1859:6-9: ERROR: invalid reference to >> the index variable of the iterator on line 1855 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=792e559e94bc88a281b10568e99fc469fc28a34d git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git remote update linus git checkout 792e559e94bc88a281b10568e99fc469fc28a34d vim +1859 drivers/usb/gadget/udc/lpc32xx_udc.c 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1840 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1841 /* Must be called without lock */ 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1842 static int lpc32xx_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req) 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1843 { 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1844 struct lpc32xx_ep *ep; 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1845 struct lpc32xx_request *req; 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1846 unsigned long flags; 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1847 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1848 ep = container_of(_ep, struct lpc32xx_ep, ep); 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1849 if (!_ep || ep->hwep_num_base == 0) 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1850 return -EINVAL; 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1851 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1852 spin_lock_irqsave(&ep->udc->lock, flags); 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1853 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1854 /* make sure it's actually queued on this endpoint */ 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 @1855 list_for_each_entry(req, &ep->queue, queue) { 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1856 if (&req->req == _req) 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1857 break; 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1858 } 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 @1859 if (&req->req != _req) { 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1860 spin_unlock_irqrestore(&ep->udc->lock, flags); 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1861 return -EINVAL; 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1862 } 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1863 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1864 done(ep, req, -ECONNRESET); 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1865 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1866 spin_unlock_irqrestore(&ep->udc->lock, flags); 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1867 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1868 return 0; 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1869 } 24a28e4283510dc drivers/usb/gadget/lpc32xx_udc.c Roland Stigge 2012-04-29 1870 :::::: The code at line 1859 was first introduced by commit :::::: 24a28e4283510dcd58890379a42b8a7d3201d9d3 USB: gadget driver for LPC32xx :::::: TO: Roland Stigge <[email protected]> :::::: CC: Greg Kroah-Hartman <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
