hujun260 commented on code in PR #15506:
URL: https://github.com/apache/nuttx/pull/15506#discussion_r1914065923


##########
arch/arm/src/dm320/dm320_usbdev.c:
##########
@@ -933,6 +932,17 @@ static void dm320_reqcomplete(struct dm320_ep_s *privep, 
int16_t result)
     }
 }
 
+static void dm320_reqcomplete(struct dm320_ep_s *privep, int16_t result)
+{
+  irqstate_t flags = spin_lock_irqsave(&privep->ep.lock);

Review Comment:
   Where is the lock initialized?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to