nuttxpr commented on PR #15819: URL: https://github.com/apache/nuttx/pull/15819#issuecomment-2652979459
[**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) Yes, this PR mostly meets the NuttX requirements, but could be improved. Here's a breakdown: **Strengths:** * **Clear Summary:** Explains the "why" (fixing error conditions, race condition, unintended semaphore signaling), the "what" (removing error conditions, ensuring idle state, clarifying comments), and the "how" (code changes to address those issues). * **Specific Impact:** Clearly limits the impact to the MPFS platform's I2C driver. * **Testing Description:** Mentions testing on a relevant downstream target with multiple I2C buses and devices. **Weaknesses & Suggestions for Improvement:** * **Missing Issue References:** While it mentions "several error conditions," it doesn't link to any specific NuttX or NuttX Apps issues. If these errors were previously reported, linking the relevant issues is crucial for traceability. * **Incomplete Impact Assessment:** The impact section needs to explicitly address *all* the points in the template, even if the answer is "NO." Specifically: * **Impact on user:** Even if the answer is no, state it explicitly: "NO - Users should not experience any functional changes." * **Impact on build:** NO * **Impact on hardware:** YES (MPFS platform I2C driver) - Be more specific about *which* MPFS platform. * **Impact on documentation:** YES (added a comment) - Briefly describe the added comment's purpose. * **Impact on security:** NO (or YES if applicable – justify) * **Impact on compatibility:** NO (or YES if applicable – justify) * **Missing Build Host Details:** The testing section lacks details about the build host environment. Specify OS, CPU architecture, and compiler version. * **Missing Target Details:** Be more specific about the target architecture and board configuration. "MPFS target" is too vague. Provide the exact `board:config` used. * **Vague Testing Logs:** "Testing logs before change" and "Testing logs after change" are placeholders. Include actual log snippets or test output demonstrating the issue before the change and the corrected behavior after the change. Show how the changes addressed the identified problems. Even better, if there are automated tests, mention them. * **Second Patch Description:** The description mentions a second patch to increase timeout margin. This second patch should be explicitly described in the summary and its impact also assessed. Ideally, each logically distinct change should be a separate commit within the PR. By addressing these weaknesses, the PR will be significantly stronger and better aligned with the NuttX requirements, making review easier and increasing the likelihood of acceptance. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org