Zepp-Hanzj opened a new pull request, #19426:
URL: https://github.com/apache/nuttx/pull/19426

   ## Summary
   
   Fix incomplete implementation of watchdog timeout notifier chain.
   
   The function `watchdog_automonitor_timeout()` was declared with `void` 
parameters but used undefined `action` and `data` variables in its body when 
calling `atomic_notifier_call_chain()`.
   
   Add `action` and `data` parameters to the function signature in both the 
implementation and header file.
   
   ## Impact
   
   - [x] Bug fix only, completes the notifier chain feature
   - [x] No functional changes (function has no callers yet)
   - [x] Enables future use of watchdog timeout notifications
   
   ## Testing
   
   - Verified by code inspection against master
   - checkpatch passes
   - Builds successfully with sim:nsh + CONFIG_WATCHDOG_TIMEOUT_NOTIFIER=y
   
   Signed-off-by: hanzhijian <[email protected]>


-- 
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