Skip to content

Conversation

@thughes
Copy link
Contributor

@thughes thughes commented Mar 21, 2025

#84065 replaced diagnostic pragmas with TOOLCHAIN_* macros, but we don't
need to use that here since __used is a cleaner way to indicate that the
function is used and will also prevent it from being optimized away at
link time if LTO is enabled.

…ning

zephyrproject-rtos#84065 replaced diagnostic pragmas with TOOLCHAIN_* macros, but we don't
need to use that here since __used is a cleaner way to indicate that the
function is used and will also prevent it from being optimized away at
link time if LTO is enabled.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
@thughes thughes force-pushed the push-nkmrvzsootqt branch from 73eae11 to 2f00189 Compare March 21, 2025 18:22
@thughes thughes marked this pull request as ready for review March 21, 2025 19:16
@zephyrbot zephyrbot added the area: DMA Direct Memory Access label Mar 21, 2025
@zephyrbot zephyrbot requested a review from teburd March 21, 2025 19:17
@thughes
Copy link
Contributor Author

thughes commented Apr 2, 2025

@teburd Can you take a look at this trivial change? Thanks!

@teburd
Copy link
Contributor

teburd commented Apr 2, 2025

Hopefully someone else takes a look here as well, will need one more +1

@kartben kartben merged commit d5d12f4 into zephyrproject-rtos:main Apr 3, 2025
24 checks passed
@thughes thughes deleted the push-nkmrvzsootqt branch April 3, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: DMA Direct Memory Access

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants