RTEMS | grlib/b1553rt: Fix bit shift direction (!273)

Matteo Concas (@matteo.concas) gitlab at rtems.org
Fri Oct 25 08:05:27 UTC 2024



Matteo Concas created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/273

Project:Branches: matteo.concas/rtems-coverity:fix-b1553rt to rtems/rtos/rtems:main
Author:   Matteo Concas




## Summary

This merge request aims to fix Coverity issue CID 1399772.

The not operation would give 1 (or 0), right-shifting this would always result in 0.
The fix makes it so it is now left-shifted into the correct register bit field (Field ME of the message information word).



<!-- 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/273
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241025/d6387c43/attachment-0001.htm>


More information about the bugs mailing list