Skip to content

sys/checksum: add ACCESS() attribute#22381

Open
maribu wants to merge 1 commit into
RIOT-OS:masterfrom
maribu:sys/checksum
Open

sys/checksum: add ACCESS() attribute#22381
maribu wants to merge 1 commit into
RIOT-OS:masterfrom
maribu:sys/checksum

Conversation

@maribu

@maribu maribu commented Jun 14, 2026

Copy link
Copy Markdown
Member

Contribution description

Annotated a functions in sys/checksum with the access attribute using the ACCESS() macro to allow GCC to perform better -Wstringop-overflow diagnostics.

Testing procedure

The Ci should do the testing here

Issues/PRs references

#22380

Declaration of AI-Tools / LLMs usage:

Same as in #22380

@maribu maribu added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jun 14, 2026
@github-actions github-actions Bot added the Area: sys Area: System label Jun 14, 2026
@riot-ci

riot-ci commented Jun 14, 2026

Copy link
Copy Markdown

Murdock results

FAILED

0124fb9 sys/checksum: add ACCESS() attribute

Success Failures Total Runtime
198 1 10129 01m:35s
Build failures (1)
Application Target Toolchain Runtime (s) Worker
tests/net/gnrc_dhcpv6_client_6lbr native64 llvm 1.28 mobi3

Artifacts

Comment thread sys/include/checksum/crc16_ccitt.h Outdated
Annotated a functions in `sys/checksum` with the `access` attribute
using the `ACCESS()` macro to allow GCC to perform better
`-Wstringop-overflow` diagnostics.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>

@mguetschow mguetschow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants