xiaoxiang781216 commented on code in PR #22455: URL: https://github.com/apache/nuttx/pull/22455#discussion_r4715301593
########## drivers/power/pm/pm_unregister.c: ########## @@ -68,6 +69,12 @@ int pm_domain_unregister(int domain, FAR struct pm_callback_s *cb) /* Remove entry from the list of registered callbacks. */ + if (!dq_inqueue(&cb->entry, &pdom->registry)) Review Comment: but why do we handle the wrong usage -- 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]
