CC: [email protected]
CC: [email protected]
TO: Jassi Brar <[email protected]>
CC: Felipe Balbi <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   5b8b9d0c6d0e0f1993c6c56deaf9646942c49d94
commit: 48ba02b2e2b1a1c80718e93fefe99c8319597c4a usb: gadget: add udc driver 
for max3420
date:   4 weeks ago
:::::: branch date: 12 hours ago
:::::: commit date: 4 weeks ago

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <[email protected]>
Reported-by: Julia Lawall <[email protected]>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/usb/gadget/udc/max3420_udc.c:1065:5-6: ERROR: invalid reference to 
>> the index variable of the iterator on line 1057

# 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48ba02b2e2b1a1c80718e93fefe99c8319597c4a
git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 48ba02b2e2b1a1c80718e93fefe99c8319597c4a
vim +1065 drivers/usb/gadget/udc/max3420_udc.c

48ba02b2e2b1a1c Jassi Brar 2020-01-21  1047  
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1048  static int 
max3420_ep_dequeue(struct usb_ep *_ep, struct usb_request *_req)
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1049  {
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1050     struct max3420_req *t, *req = 
to_max3420_req(_req);
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1051     struct max3420_ep *ep = 
to_max3420_ep(_ep);
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1052     unsigned long flags;
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1053  
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1054     spin_lock_irqsave(&ep->lock, 
flags);
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1055  
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1056     /* Pluck the descriptor from 
queue */
48ba02b2e2b1a1c Jassi Brar 2020-01-21 @1057     list_for_each_entry(t, 
&ep->queue, queue)
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1058             if (t == req) {
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1059                     
list_del_init(&req->queue);
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1060                     break;
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1061             }
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1062  
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1063     
spin_unlock_irqrestore(&ep->lock, flags);
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1064  
48ba02b2e2b1a1c Jassi Brar 2020-01-21 @1065     if (t == req)
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1066             max3420_req_done(req, 
-ECONNRESET);
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1067  
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1068     return 0;
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1069  }
48ba02b2e2b1a1c Jassi Brar 2020-01-21  1070  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to