Fix-Point opened a new pull request, #17518: URL: https://github.com/apache/nuttx/pull/17518
## Summary In rare case, the round-nearest behavior in function `clkcnt_best_multshift` may result in converted `tv_nsec >= NSEC_PER_SEC`. This commit fixed the issue. ## Impact This commit will affect all architectures using the `CONFIG_ONESHOT_COUNT`, including ARMv7a/ARMv7r/ARMv8a/ARMv8r/Intel64/RISC-V/sim/goldfish/tricore. ## Testing Tested on `rv-virt:smp`, ostest passed. -- 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]
