SHIVAM DEOLANKAR created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1069
Project:Branches: D3athSkulll/rtems:fix-error-shift-16bit to rtems/rtos/rtems:main Author: SHIVAM DEOLANKAR ## Summary Fix potential undefined behavior in RTEMS_ERROR\_\* bit shifts by casting\ the literal 1 to rtems_error_code_t before shifting. Verified on RV32\ and RV64 using QEMU. ## AI Details ### Prompt used Verify the logic used for the error flags in the code snippet of error.h and help me test the codebase for rtems7 on riscv 32 and 64bit using qemu. ### AI model used Chatgpt 5.2 ### How AI was used for the contribution - [x] Formatting - [x] Test creation. - [ ] Code comments. - [ ] The entire contribution was generated using AI - [ ] AI code completion such as Copilot in VSCode. If others were used please add below ### Access I confirm that I have not used a product that claims copyright over the generated content and that I have legitimate access to the AI tools used. <!--Default settings, if it is a dropdown it will set after submission--> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1069 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
