RTEMS | cpukit/dev/can/can-bittiming.c: Do not use abs() on unsigned values (!726)
Joel Sherrill (@joel)
gitlab at rtems.org
Mon Sep 15 22:25:35 UTC 2025
Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/726
Project:Branches: joel/rtems:fix-absolute-value-warnings to rtems/rtos/rtems:main
Author: Joel Sherrill
Assignee: Joel Sherrill
Reviewers: Kinsey Moore and Gedare Bloom
## Summary
cpukit/dev/can/can-bittiming.c: Do not use abs() on unsigned values
The GCC warning -Wabsolute-value warns for calls to standard functions
that compute absolute value when unsigned variables are passed in.
<!-- 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/726
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/20250915/53ac30c3/attachment.htm>
More information about the bugs
mailing list