Skip to content

Conversation

@chinglee-iot
Copy link
Member

@chinglee-iot chinglee-iot commented Apr 19, 2024

Description

This PR fix the MISRA C:2012 rule 7.2 deviations.

MISRA C:2012 rule 7.2 requires that

A “u” or “U” suffix shall be applied to all integer constants that are represented in an unsigned type

In this PR:

  • Use suffix "U" for unsigned constant.

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@chinglee-iot chinglee-iot marked this pull request as ready for review April 19, 2024 08:35
@chinglee-iot chinglee-iot requested a review from a team as a code owner April 19, 2024 08:35
@kar-rahul-aws kar-rahul-aws merged commit c02a347 into FreeRTOS:main Apr 19, 2024
@chinglee-iot chinglee-iot deleted the fix-unsigned-constant-suffix branch August 7, 2025 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants